summaryrefslogtreecommitdiff
path: root/examples/pirate.py
diff options
context:
space:
mode:
authorkotfu <jared@kotfu.net>2018-05-02 20:27:14 -0600
committerGitHub <noreply@github.com>2018-05-02 20:27:14 -0600
commit6b5c23c127e78ca4f9e30a1cbea76c61f10e418c (patch)
tree07ebf6b0b51227800b287a6d26d1951d449cbde6 /examples/pirate.py
parentd37004d05d0be67f48f35d6986ea899a35bcf89f (diff)
parentfa94eed90cf81b24e5b83c2b4c7e16025d849996 (diff)
downloadcmd2-git-6b5c23c127e78ca4f9e30a1cbea76c61f10e418c.tar.gz
Merge pull request #370 from python-cmd2/ply
Switch parsing logic from pyparsing to shlex
Diffstat (limited to 'examples/pirate.py')
-rwxr-xr-xexamples/pirate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pirate.py b/examples/pirate.py
index 2daa8631..f6f4c629 100755
--- a/examples/pirate.py
+++ b/examples/pirate.py
@@ -14,7 +14,7 @@ class Pirate(Cmd):
"""A piratical example cmd2 application involving looting and drinking."""
def __init__(self):
self.default_to_shell = True
- self.multilineCommands = ['sing']
+ self.multiline_commands = ['sing']
self.terminators = Cmd.terminators + ['...']
self.songcolor = 'blue'