summaryrefslogtreecommitdiff
path: root/examples/argparse_example.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-15 23:24:03 -0400
committerEric Lin <anselor@gmail.com>2018-04-15 23:24:03 -0400
commitbfc190e64481c161929d69e358c0dccb32d67c21 (patch)
tree96b12312e91ec3497faf0adce547656ed1431387 /examples/argparse_example.py
parent8d4f8411bb5f6bbac8ec121f897ccece1b97006c (diff)
parent480c7f8bbcdf1179312f71f525e79102aa4551ae (diff)
downloadcmd2-git-bfc190e64481c161929d69e358c0dccb32d67c21.tar.gz
Merge remote-tracking branch 'origin/python3' into autocompleter
Diffstat (limited to 'examples/argparse_example.py')
-rwxr-xr-xexamples/argparse_example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/argparse_example.py b/examples/argparse_example.py
index ca2173e7..e9b377ba 100755
--- a/examples/argparse_example.py
+++ b/examples/argparse_example.py
@@ -28,7 +28,7 @@ class CmdLineApp(Cmd):
self.settable['maxrepeats'] = 'Max number of `--repeat`s allowed'
# Set use_ipython to True to enable the "ipy" command which embeds and interactive IPython shell
- Cmd.__init__(self, use_ipython=False, transcript_files=transcript_files)
+ super().__init__(use_ipython=False, transcript_files=transcript_files)
# Disable cmd's usage of command-line arguments as commands to be run at invocation
# self.allow_cli_args = False