summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-10-30 23:28:02 -0400
committerGitHub <noreply@github.com>2019-10-30 23:28:02 -0400
commit245dc33730d2a27bc9744be7cf36f176f5a0c10a (patch)
treeba6cfaae945625c28934b38bf537f78a5040b567 /tests/test_completion.py
parentb1873c3e6a19276417e7b3a046b48db54a2d6304 (diff)
parent5a58199590f06996cc741063da29ffb166026ced (diff)
downloadcmd2-git-245dc33730d2a27bc9744be7cf36f176f5a0c10a.tar.gz
Merge pull request #796 from python-cmd2/set_prog
Recursively set parser.prog
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 c7d9bd21..3b26b044 100755
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -1078,7 +1078,7 @@ class SubcommandsWithUnknownExample(cmd2.Cmd):
self.poutput('Sport is {}'.format(args.sport))
# 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