diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-11-11 21:50:44 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-11-11 21:50:44 -0500 |
commit | f02cf54284c4feacee5647d29665158fa5137f5f (patch) | |
tree | e421ec9b49338a312c0db759d4b5c87c7299e1a7 /cmd2/parsing.py | |
parent | 0f11ffa3b992e3f777b96dfe46d4274bfca0dcc8 (diff) | |
parent | d4dc6b6a98fdb44b08701a3826ee88b6c22b72fd (diff) | |
download | cmd2-git-f02cf54284c4feacee5647d29665158fa5137f5f.tar.gz |
Merge branch 'master' into 2.0
# Conflicts:
# CHANGELOG.md
Diffstat (limited to 'cmd2/parsing.py')
-rwxr-xr-x | cmd2/parsing.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py index 657db32c..c420e9aa 100755 --- a/cmd2/parsing.py +++ b/cmd2/parsing.py @@ -91,9 +91,8 @@ class Statement(str): Tips: 1. `argparse <https://docs.python.org/3/library/argparse.html>`_ is your - friend for anything complex. ``cmd2`` has two decorators - (:func:`~cmd2.decorators.with_argparser`, and - :func:`~cmd2.decorators.with_argparser_and_unknown_args`) which you can + friend for anything complex. ``cmd2`` has the decorator + (:func:`~cmd2.decorators.with_argparser`) which you can use to make your command method receive a namespace of parsed arguments, whether positional or denoted with switches. |