Skip to content

Commit 976ddc8

Browse files
committed
Changed wrapping point of history's help text to match all other help text in cmd2
1 parent e5807b6 commit 976ddc8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cmd2/cmd2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3338,7 +3338,8 @@ def load_ipy(app):
33383338
help='display history and include expanded commands if they\n'
33393339
'differ from the typed command')
33403340
history_format_group.add_argument('-a', '--all', action='store_true',
3341-
help='display all commands, including ones persisted from previous sessions')
3341+
help='display all commands, including ones persisted from\n'
3342+
'previous sessions')
33423343

33433344
history_arg_help = ("empty all history items\n"
33443345
"a one history item by number\n"

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@
8989
macros expanded, instead of typed commands
9090
-v, --verbose display history and include expanded commands if they
9191
differ from the typed command
92-
-a, --all display all commands, including ones persisted from previous sessions
92+
-a, --all display all commands, including ones persisted from
93+
previous sessions
9394
"""
9495

9596
# Output from the shortcuts command with default built-in shortcuts

0 commit comments

Comments
 (0)