diff options
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 8d9627aa..86e511c7 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -1826,6 +1826,7 @@ class Cmd(cmd.Cmd): begidx += len(shortcut_to_restore) break else: + # No shortcut was found. Complete the command token. parser = DEFAULT_ARGUMENT_PARSER(add_help=False) parser.add_argument('command', metavar="COMMAND", help="command, alias, or macro name", choices=self._get_commands_aliases_and_macros_for_completion()) |