From 67c18b088acb28b0ff946925c94598fcf8ea634c Mon Sep 17 00:00:00 2001 From: Kyle King Date: Sun, 8 Nov 2020 20:10:41 -0500 Subject: Replace with_argparser_and_unknown_args in docs --- cmd2/parsing.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmd2/parsing.py') 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 `_ 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. -- cgit v1.2.1