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 7540bd00..a660b348 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -258,7 +258,7 @@ def with_argument_parser(argparser):
temp_arglist.append(strip_quotes(arg))
lexed_arglist = temp_arglist
opts = argparser.parse_args(lexed_arglist)
- func(instance, cmdline, opts)
+ func(instance, lexed_arglist, opts)
# argparser defaults the program name to sys.argv[0]
# we want it to be the name of our command