summaryrefslogtreecommitdiff
path: root/tests/test_argparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_argparse.py')
-rw-r--r--tests/test_argparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_argparse.py b/tests/test_argparse.py
index e5fa6dd0..21ec17e8 100644
--- a/tests/test_argparse.py
+++ b/tests/test_argparse.py
@@ -207,7 +207,7 @@ class SubcommandApp(cmd2.Cmd):
self.poutput('((%s))' % args.z)
# create the top-level parser for the base command
- base_parser = argparse.ArgumentParser(prog='base')
+ base_parser = argparse.ArgumentParser()
base_subparsers = base_parser.add_subparsers(title='subcommands', help='subcommand help')
# create the parser for the "foo" subcommand