]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
docs/cephfs-shell: update doc about pyscript
authorRishabh Dave <ridave@redhat.com>
Thu, 26 Sep 2019 09:53:05 +0000 (15:23 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 3 Oct 2019 12:40:59 +0000 (18:10 +0530)
The command pyscript is renamed, by cmd2, as run_pyscript.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
doc/cephfs/cephfs-shell.rst

index de62abc13c79ab99b71f84fe9799f700178bec49..2d4c36d5fd19b950c2f9848b7f982150a4194fd0 100644 (file)
@@ -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_path> [script_arguments]
+    run_pyscript <script_path> [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
 --