diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2017-07-19 14:58:25 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2017-07-19 14:58:25 -0400 |
| commit | 898fc8979cf4aac29482e3af758e997b7e921655 (patch) | |
| tree | b4b4476778430b45bf1f4dc6241681031ed21623 | |
| parent | 30a50a2b8c27de257a3ebbe773abddb9af92792e (diff) | |
| download | cmd2-git-898fc8979cf4aac29482e3af758e997b7e921655.tar.gz | |
Corrected help text for shortcuts since they don't have to be single key
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1028,7 +1028,7 @@ class Cmd(cmd.Cmd): 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): |
