summaryrefslogtreecommitdiff
path: root/cmd2/parsing.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-11-09 20:03:40 -0500
committerGitHub <noreply@github.com>2020-11-09 20:03:40 -0500
commitd3a9a6d2fdb99f6fdec064020f7b8a4b4d4e5d13 (patch)
tree0880f7834861ab0aa95f6d8d5a0d9a1f72c0cc4d /cmd2/parsing.py
parentd4436244b1bdfc38d611545795f5759818e94847 (diff)
parent67c18b088acb28b0ff946925c94598fcf8ea634c (diff)
downloadcmd2-git-d3a9a6d2fdb99f6fdec064020f7b8a4b4d4e5d13.tar.gz
Merge pull request #1012 from KyleKing/master
Replace `with_argparser_and_unknown_args` in docs
Diffstat (limited to 'cmd2/parsing.py')
-rwxr-xr-xcmd2/parsing.py5
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.