summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_completion.py')
-rwxr-xr-xtests/test_completion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py
index a380d43a..48a055d0 100755
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -1132,7 +1132,7 @@ class SubcommandsWithUnknownExample(cmd2.Cmd):
parser_sport = base_subparsers.add_parser('sport', help='sport help')
sport_arg = parser_sport.add_argument('sport', help='Enter name of a sport', choices=sport_item_strs)
- @cmd2.with_argparser_and_unknown_args(base_parser)
+ @cmd2.with_argparser(base_parser, with_unknown_args=True)
def do_base(self, args):
"""Base command help"""
func = getattr(args, 'func', None)