diff options
author | kotfu <jared@kotfu.net> | 2018-05-02 20:27:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 20:27:14 -0600 |
commit | 6b5c23c127e78ca4f9e30a1cbea76c61f10e418c (patch) | |
tree | 07ebf6b0b51227800b287a6d26d1951d449cbde6 /examples/argparse_example.py | |
parent | d37004d05d0be67f48f35d6986ea899a35bcf89f (diff) | |
parent | fa94eed90cf81b24e5b83c2b4c7e16025d849996 (diff) | |
download | cmd2-git-6b5c23c127e78ca4f9e30a1cbea76c61f10e418c.tar.gz |
Merge pull request #370 from python-cmd2/ply
Switch parsing logic from pyparsing to shlex
Diffstat (limited to 'examples/argparse_example.py')
-rwxr-xr-x | examples/argparse_example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/argparse_example.py b/examples/argparse_example.py index e8afef5c..6e5dcf35 100755 --- a/examples/argparse_example.py +++ b/examples/argparse_example.py @@ -20,7 +20,7 @@ from cmd2.cmd2 import Cmd, with_argparser, with_argument_list class CmdLineApp(Cmd): """ Example cmd2 application. """ def __init__(self, ip_addr=None, port=None, transcript_files=None): - self.multilineCommands = ['orate'] + self.multiline_commands = ['orate'] self.shortcuts.update({'&': 'speak'}) self.maxrepeats = 3 |