diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-11-11 12:29:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-11 12:29:30 -0500 |
commit | 97396ff8e4e1fbbd92e905dcae6646b3e33ae031 (patch) | |
tree | a1bee051b8abae71a2078b09f02b2907c9fa10aa /cmd2 | |
parent | a9ea11fcdf634ba53e6595d36f80bdc47cfd5704 (diff) | |
parent | d3a9a6d2fdb99f6fdec064020f7b8a4b4d4e5d13 (diff) | |
download | cmd2-git-97396ff8e4e1fbbd92e905dcae6646b3e33ae031.tar.gz |
Merge branch 'master' into docstr_fmt
Diffstat (limited to 'cmd2')
-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. |