diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-05 10:56:01 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-05 10:56:01 -0400 |
commit | 976ddc859311e640f3ae67af34299bbf1160358f (patch) | |
tree | 7f126d5ff7346305c53a259ba77294ace0046717 | |
parent | e5807b6765a58a24398e007af4c3f513c72c1fc0 (diff) | |
download | cmd2-git-976ddc859311e640f3ae67af34299bbf1160358f.tar.gz |
Changed wrapping point of history's help text to match all other help text in cmd2
-rw-r--r-- | cmd2/cmd2.py | 3 | ||||
-rw-r--r-- | tests/conftest.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index b13eb45b..560ee68f 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -3338,7 +3338,8 @@ class Cmd(cmd.Cmd): help='display history and include expanded commands if they\n' 'differ from the typed command') history_format_group.add_argument('-a', '--all', action='store_true', - help='display all commands, including ones persisted from previous sessions') + help='display all commands, including ones persisted from\n' + 'previous sessions') history_arg_help = ("empty all history items\n" "a one history item by number\n" diff --git a/tests/conftest.py b/tests/conftest.py index 769e5a8f..dc5c1ab1 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -89,7 +89,8 @@ formatting: macros expanded, instead of typed commands -v, --verbose display history and include expanded commands if they differ from the typed command - -a, --all display all commands, including ones persisted from previous sessions + -a, --all display all commands, including ones persisted from + previous sessions """ # Output from the shortcuts command with default built-in shortcuts |