diff options
Diffstat (limited to 'examples/scripts')
-rw-r--r-- | examples/scripts/conditional.py | 2 | ||||
-rw-r--r-- | examples/scripts/save_help_text.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/scripts/conditional.py b/examples/scripts/conditional.py index 2e307cb4..eb4c203e 100644 --- a/examples/scripts/conditional.py +++ b/examples/scripts/conditional.py @@ -8,7 +8,7 @@ To run it you should do the following: 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. +application instance. Note: self only exists in this environment if self_in_py is True. """ import os import sys diff --git a/examples/scripts/save_help_text.py b/examples/scripts/save_help_text.py index 2d1c2c41..cc4cfcc7 100644 --- a/examples/scripts/save_help_text.py +++ b/examples/scripts/save_help_text.py @@ -60,7 +60,7 @@ def main() -> None: # Make sure we have access to self if 'self' not in globals(): - print("Re-run this script from a cmd2 application where locals_in_py is True") + print("Re-run this script from a cmd2 application where self_in_py is True") return # Make sure the user passed in an output file |