summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index ccb1c213..84710eca 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -271,7 +271,7 @@ def with_argument_list(func):
return cmd_wrapper
-def with_argparser_and_list(argparser):
+def with_argparser_and_unknown_args(argparser):
"""A decorator to alter a cmd2 method to populate its ``args``
argument by parsing arguments with the given instance of
argparse.ArgumentParser, but also returning unknown args as a list.