summaryrefslogtreecommitdiff
path: root/examples/tab_autocompletion.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-10-10 18:08:11 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-10-10 18:08:11 -0400
commit9b43502ab70d1bd013a4cdede4805c2c0819c8c4 (patch)
treec8c12774764fa0b9f226b1f02c3614236bb03a23 /examples/tab_autocompletion.py
parentf38e100fd77f4a136a4883d23b2f4f8b3cd934b7 (diff)
downloadcmd2-git-9b43502ab70d1bd013a4cdede4805c2c0819c8c4.tar.gz
Added code to handle -- in argparse completer
Diffstat (limited to 'examples/tab_autocompletion.py')
-rwxr-xr-xexamples/tab_autocompletion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tab_autocompletion.py b/examples/tab_autocompletion.py
index 571b4082..dad9e90d 100755
--- a/examples/tab_autocompletion.py
+++ b/examples/tab_autocompletion.py
@@ -163,7 +163,7 @@ class TabCompleteExample(cmd2.Cmd):
# This variant demonstrates the AutoCompleter working with the orginial argparse.
# Base argparse is unable to specify narg ranges. Autocompleter will keep expecting additional arguments
- # for the -d/--duration flag until you specify a new flaw or end the list it with '--'
+ # for the -d/--duration flag until you specify a new flag or end processing of flags with '--'
suggest_parser_orig = argparse.ArgumentParser()