From: Rishabh Dave Date: Thu, 26 Sep 2019 09:53:05 +0000 (+0530) Subject: docs/cephfs-shell: update doc about pyscript X-Git-Tag: v15.1.0~1257^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=06542a58626d52b0a28bc3e1f2e3b8e4e1dc623a;p=ceph-ci.git docs/cephfs-shell: update doc about pyscript The command pyscript is renamed, by cmd2, as run_pyscript. Signed-off-by: Rishabh Dave --- 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 --