summaryrefslogtreecommitdiff
path: root/examples/scripts/conditional.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-15 00:53:23 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-15 00:53:23 -0400
commitbeb2b37e5488965f7b2e240ea7453234bcbd3cd1 (patch)
tree9ec803a7036d5f3d680610ab5daba78e5c38a37d /examples/scripts/conditional.py
parentdf8679b3331a8aebd3af4bbe2a0c6e625346f348 (diff)
downloadcmd2-git-beb2b37e5488965f7b2e240ea7453234bcbd3cd1.tar.gz
Updated documentation
Diffstat (limited to 'examples/scripts/conditional.py')
-rw-r--r--examples/scripts/conditional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts/conditional.py b/examples/scripts/conditional.py
index 8a4f14de..724bb3ee 100644
--- a/examples/scripts/conditional.py
+++ b/examples/scripts/conditional.py
@@ -5,7 +5,7 @@ This is a Python script intended to be used with the "python_scripting.py" cmd2
To run it you should do the following:
./python_scripting.py
- pyscript scripts/conditional.py directory_path
+ run_pyscript scripts/conditional.py directory_path
Note: The "app" function is defined within the cmd2 embedded Python environment and in there "self" is your cmd2
application instance. Note: self only exists in this environment if locals_in_py is True.