summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-02-01 19:51:09 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-02-01 19:51:09 -0500
commite60cc37ad39795622c49f354548d86d752d637bd (patch)
tree10271153129de8330059e3f7b95c1971bf821626 /cmd2.py
parent2cdeb5c69936390cf75582f7dcb304d38d598a37 (diff)
downloadcmd2-git-e60cc37ad39795622c49f354548d86d752d637bd.tar.gz
Improved argument processing docs
Improved the documentation related to how to use the argparse decorators. Also: - Fixed a comment in cmd2.py which referred to the old decorator before the rename - Fixed README.md which had the old decorator name in it prior to the rename
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 0bb21d4a..cfe247be 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -122,7 +122,7 @@ pyparsing.ParserElement.setDefaultWhitespaceChars(' \t')
# The next 3 variables and associated setter functions effect how arguments are parsed for decorated commands
-# which use one of the decorators such as @with_argument_list or @with_argument_parser
+# which use one of the decorators such as @with_argument_list or @with_argparser
# The defaults are sane and maximize ease of use for new applications based on cmd2.
# To maximize backwards compatibility, we recommend setting USE_ARG_LIST to "False"