From 06542a58626d52b0a28bc3e1f2e3b8e4e1dc623a Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Thu, 26 Sep 2019 15:23:05 +0530 Subject: [PATCH] docs/cephfs-shell: update doc about pyscript The command pyscript is renamed, by cmd2, as run_pyscript. Signed-off-by: Rishabh Dave --- doc/cephfs/cephfs-shell.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/cephfs/cephfs-shell.rst b/doc/cephfs/cephfs-shell.rst index de62abc13c7..2d4c36d5fd1 100644 --- a/doc/cephfs/cephfs-shell.rst +++ b/doc/cephfs/cephfs-shell.rst @@ -238,18 +238,21 @@ Usage: * name - name of the alias being looked up, added, or replaced * value - what the alias will be resolved to (if adding or replacing) this can contain spaces and does not need to be quoted -pyscript --------- +run_pyscript +------------ Runs a python script file inside the console Usage: - pyscript [script_arguments] + run_pyscript [script_arguments] * Console commands can be executed inside this script with cmd ("your command") - However, you cannot run nested "py" or "pyscript" commands from within this script - Paths or arguments that contain spaces must be enclosed in quotes + However, you cannot run nested "py" or "pyscript" commands from within this + script. Paths or arguments that contain spaces must be enclosed in quotes + +.. note:: This command is available as ``pyscript`` for cmd2 versions 0.9.13 + or less. py -- -- 2.39.5