summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-21 23:11:07 -0400
committerEric Lin <anselor@gmail.com>2018-04-21 23:11:07 -0400
commit102fc6741b5dfdbb02f28ee720214c70d1260cc0 (patch)
treec4dac853652ea9f009b84593ad95e2325a48676e /cmd2/cmd2.py
parent967f320e888fcf671768fc4d7d8838a6f6609b4f (diff)
downloadcmd2-git-102fc6741b5dfdbb02f28ee720214c70d1260cc0.tar.gz
Added some more comments for clarification.
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index f9940b44..10f790c0 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1841,6 +1841,7 @@ class Cmd(cmd.Cmd):
def _autocomplete_default(self, text: str, line: str, begidx: int, endidx: int,
argparser: argparse.ArgumentParser) -> List[str]:
+ """Default completion function for argparse commands."""
completer = AutoCompleter(argparser)
tokens, _ = self.tokens_for_completion(line, begidx, endidx)