From 1a82b37b6c23490b1d9127095e3ee4f2db21a85b Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Tue, 4 Aug 2020 13:46:48 -0400 Subject: Marked with_arparser_and_unknown_args deprecated and consolidated implementation as an option to with_argparser instead. --- docs/features/argument_processing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/features/argument_processing.rst') diff --git a/docs/features/argument_processing.rst b/docs/features/argument_processing.rst index f98a686a..9e65742e 100644 --- a/docs/features/argument_processing.rst +++ b/docs/features/argument_processing.rst @@ -272,7 +272,7 @@ Here's what it looks like:: dir_parser = argparse.ArgumentParser() dir_parser.add_argument('-l', '--long', action='store_true', help="display in long format with one item per line") - @with_argparser_and_unknown_args(dir_parser) + @with_argparser(dir_parser, with_unknown_args=True) def do_dir(self, args, unknown): """List contents of current directory.""" # No arguments for this command -- cgit v1.2.1