diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-06-01 21:22:00 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-06-01 21:22:00 -0400 |
commit | 67c70521d6520c3cb2906ec428de4ccc6958d784 (patch) | |
tree | d6d6165e6949a03377c19e674949f206c1cdbc4c /tests/test_transcript.py | |
parent | 80705c68646dfe7704267ffb072d5a27f8b1da92 (diff) | |
download | cmd2-git-67c70521d6520c3cb2906ec428de4ccc6958d784.tar.gz |
Added "exclude_from_help" list as a cmd2.Cmd public attribute
Added a list of commands to explicitly exclude displaying in the help menu of commands which detailed help can be retrieved for.
By default, only "do_eof" is in this list since that isn't a command which is ever intended for an end user to directly enter on the command line.
Also updated unit tests to reflect new default help menu.
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r-- | tests/test_transcript.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py index 6049119f..c31b519d 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -106,8 +106,9 @@ def test_base_with_transcript(_cmdline_app): Documented commands (type help <topic>): ======================================== -_relative_load edit help list orate py run say shell show -cmdenvironment eof history load pause quit save set shortcuts speak +_relative_load help load py save shell speak +cmdenvironment history orate quit say shortcuts +edit list pause run set show (Cmd) help say Repeats what you tell me to. |