diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-10-30 19:00:33 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-10-30 19:00:33 -0400 |
commit | e6dfe02901f8a6bf5059fa25ff28601af5366fad (patch) | |
tree | c7de2a9acfb913425c5da7e0d935271ff96ce164 /tests/test_argparse.py | |
parent | a6f131b65e9a7e227eade57ffcf833b1f06ec3ea (diff) | |
download | cmd2-git-e6dfe02901f8a6bf5059fa25ff28601af5366fad.tar.gz |
Removed all instances where a parser's prog attribute was being set since this is no longer needed
Diffstat (limited to 'tests/test_argparse.py')
-rw-r--r-- | tests/test_argparse.py | 2 |
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 |