From 1a2095e5c373430e5aa4bda2ee24f65f4527a002 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Wed, 9 Sep 2020 01:26:08 -0400 Subject: Added section to completion docs about read_input() function --- cmd2/cmd2.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd2/cmd2.py') 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()) -- cgit v1.2.1