diff options
author | kotfu <kotfu@kotfu.net> | 2020-02-14 20:51:21 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2020-02-14 20:51:21 -0700 |
commit | c8ba8b94950edcad47f791cceec949f174ea7c71 (patch) | |
tree | dbae3fa7482c24d6cca9a52d597f498c61d18be0 /docs/features/scripting.rst | |
parent | 9c6f1304816707e38c74926c93f62e48836b95c9 (diff) | |
parent | 013b9e0a2c75e17f8aa0e0f7cbe50d84d2f657d8 (diff) | |
download | cmd2-git-c8ba8b94950edcad47f791cceec949f174ea7c71.tar.gz |
Merge branch 'master' into api_docs
# Conflicts:
# cmd2/ansi.py
# docs/features/completion.rst
Diffstat (limited to 'docs/features/scripting.rst')
-rw-r--r-- | docs/features/scripting.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/features/scripting.rst b/docs/features/scripting.rst index 62af2e6d..1128f5e1 100644 --- a/docs/features/scripting.rst +++ b/docs/features/scripting.rst @@ -34,7 +34,7 @@ Running Command Scripts Command script files can be executed using the built-in ``run_script`` command or ``@`` shortcut. Both ASCII and UTF-8 encoded unicode text files are -supported. The ``run_script`` command supports tab-completion of file system +supported. The ``run_script`` command supports tab completion of file system paths. There is a variant ``_relative_run_script`` command or ``@@`` shortcut for use within a script which uses paths relative to the first script. @@ -73,7 +73,7 @@ using ``run_pyscript`` is shown below along with the arg_printer_ script:: arg 2: 'bar' arg 3: 'baz 23' -``run_pyscript`` supports tab-completion of file system paths, and as shown +``run_pyscript`` supports tab completion of file system paths, and as shown above it has the ability to pass command-line arguments to the scripts invoked. Python scripts executed with ``run_pyscript`` can run ``cmd2`` application |