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/conftest.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/conftest.py')
-rw-r--r-- | tests/conftest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index b036943d..3977de5f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,8 +15,8 @@ import cmd2 # Help text for base cmd2.Cmd application BASE_HELP = """Documented commands (type help <topic>): ======================================== -_relative_load edit help list pause quit save shell show -cmdenvironment eof history load py run set shortcuts +_relative_load edit history load py run set shortcuts +cmdenvironment help list pause quit save shell show """ # Help text for the history command |