summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-06-16 13:29:30 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-06-17 14:10:24 -0400
commit525d32cfde6c2f9fecb0ee44972c18d4b0bf614f (patch)
treeda5b43bd51d63f42a0d5b965b31fbd18e8ebf494 /cmd2
parent25baddfd652f5f8421cbac9d251a4d33d178c18e (diff)
downloadcmd2-git-525d32cfde6c2f9fecb0ee44972c18d4b0bf614f.tar.gz
Fixing tests on Python 3.10
Diffstat (limited to 'cmd2')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 72d93f49..df4d1dc2 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -405,7 +405,7 @@ class Cmd(cmd.Cmd):
# Check for command line args
if allow_cli_args:
- parser = argparse.ArgumentParser()
+ parser = DEFAULT_ARGUMENT_PARSER()
parser.add_argument('-t', '--test', action="store_true", help='Test against transcript(s) in FILE (wildcards OK)')
callopts, callargs = parser.parse_known_args()