summaryrefslogtreecommitdiff
path: root/cmd2/argparse_completer.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-23 10:19:55 -0400
committerEric Lin <anselor@gmail.com>2018-04-23 10:19:55 -0400
commitcbb94bff0cfed8c0ccbf8e0c2dd4c61f59881573 (patch)
tree40945f85aeff71f639bffe1fa7c87ef23a8c17dd /cmd2/argparse_completer.py
parent102fc6741b5dfdbb02f28ee720214c70d1260cc0 (diff)
downloadcmd2-git-cbb94bff0cfed8c0ccbf8e0c2dd4c61f59881573.tar.gz
Addressed PR comments. Simplified some of the implementation per PR comments.
Diffstat (limited to 'cmd2/argparse_completer.py')
-rwxr-xr-xcmd2/argparse_completer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/argparse_completer.py b/cmd2/argparse_completer.py
index 6e53a518..e87e9c04 100755
--- a/cmd2/argparse_completer.py
+++ b/cmd2/argparse_completer.py
@@ -415,7 +415,7 @@ class AutoCompleter(object):
return completion_results
def complete_command_help(self, tokens: List[str], text: str, line: str, begidx: int, endidx: int) -> List[str]:
- """Supports the completion of sub-commands for commands thhrough the cmd2 help command."""
+ """Supports the completion of sub-commands for commands through the cmd2 help command."""
for idx, token in enumerate(tokens):
if idx >= self._token_start_index:
if self._positional_completers: