diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-09 01:26:08 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-09 02:34:58 -0400 |
commit | 1a2095e5c373430e5aa4bda2ee24f65f4527a002 (patch) | |
tree | 62575c664a651027cea415cea574454d1e4637ca /cmd2/cmd2.py | |
parent | 0ca6038e9ed2928c84ce5a313916d4d426802b4f (diff) | |
download | cmd2-git-1a2095e5c373430e5aa4bda2ee24f65f4527a002.tar.gz |
Added section to completion docs about read_input() function
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()) |