summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
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: