Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ def _help_menu(self):
def do_shortcuts(self, args):
"""Lists shortcuts (aliases) available."""
result = "\n".join('%s: %s' % (sc[0], sc[1]) for sc in sorted(self.shortcuts))
self.stdout.write("Single-key shortcuts for other commands:\n{}\n".format(result))
self.stdout.write("Shortcuts for other commands:\n{}\n".format(result))

# noinspection PyUnusedLocal
def do_eof(self, arg):
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"""

# Output from the shortcuts command with default built-in shortcuts
SHORTCUTS_TXT = """Single-key shortcuts for other commands:
SHORTCUTS_TXT = """Shortcuts for other commands:
!: shell
?: help
@: load
Expand Down