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 387fe6d9..4c1a1bb6 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -1934,7 +1934,7 @@ class Cmd(cmd.Cmd):
break
# This will be true when a macro was used
- if orig_line != statement.raw:
+ if not statement.multiline_command and orig_line != statement.raw:
# Build a Statement that contains the resolved macro line
# but the originally typed line for its raw member.
statement = Statement(statement.args,