diff options
Diffstat (limited to 'docs/features')
-rw-r--r-- | docs/features/argument_processing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |