summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-07-15 15:50:13 -0600
committerkotfu <kotfu@kotfu.net>2018-07-15 15:50:13 -0600
commit8e930af452c4a7f50aa4fafb1bab4201337a4ded (patch)
tree6e10dc9bad65598e876ccb39ce437ff5b24c3181 /cmd2/cmd2.py
parent10ee6ba4291695ade3a8fe4f5b78582c67dada8d (diff)
downloadcmd2-git-8e930af452c4a7f50aa4fafb1bab4201337a4ded.tar.gz
Fix for #417, call preparse()
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 51f2f924..946182c9 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1840,7 +1840,7 @@ class Cmd(cmd.Cmd):
pipe runs out. We can't refactor it because we need to retain
backwards compatibility with the standard library version of cmd.
"""
- statement = self.statement_parser.parse(line)
+ statement = self.statement_parser.parse(self.preparse(line))
while statement.multiline_command and not statement.terminator:
if not self.quit_on_sigint:
try: