diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-01-27 22:36:49 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-01-27 22:36:49 -0500 |
commit | 0f8f90cc2ade4135193f5399e5e6a12271668867 (patch) | |
tree | a3f8fd2c274fbac5293e218a70f55101f7b64633 /examples/scripts | |
parent | 95f8d883496044bcb95ce803752a8851de6ad0e5 (diff) | |
download | cmd2-git-0f8f90cc2ade4135193f5399e5e6a12271668867.tar.gz |
Made three public attributes of cmd2.Cmd no longer settable at runtime by end users
The 3 attributes are:
- continuation_prompt
- locals_in_py
- prompt
Diffstat (limited to 'examples/scripts')
-rw-r--r-- | examples/scripts/save_help_text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts/save_help_text.py b/examples/scripts/save_help_text.py index 12d66d6d..2d1c2c41 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("Run 'set locals_in_py true' and then rerun this script") + print("Re-run this script from a cmd2 application where locals_in_py is True") return # Make sure the user passed in an output file |