diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-02-01 19:51:09 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-02-01 19:51:09 -0500 |
commit | e60cc37ad39795622c49f354548d86d752d637bd (patch) | |
tree | 10271153129de8330059e3f7b95c1971bf821626 /cmd2.py | |
parent | 2cdeb5c69936390cf75582f7dcb304d38d598a37 (diff) | |
download | cmd2-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-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |