summaryrefslogtreecommitdiff
path: root/cmd2/parsing.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-06 10:14:47 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-06 10:14:47 -0400
commitfd1c2b9862932d9229bf28e7986f5147cf1f3451 (patch)
tree800a4ec0ec13c9d8c5d0f17870145e72b647a15c /cmd2/parsing.py
parentfc41d86b275ba4bbd2dbd76c766dbc2abc138021 (diff)
parent91e271013c8580f3308d593c2d3224ecf00d8b2f (diff)
downloadcmd2-git-fd1c2b9862932d9229bf28e7986f5147cf1f3451.tar.gz
Merge branch 'master' into completion_exceptions
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r--cmd2/parsing.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py
index 2af8a207..a9e1a52f 100644
--- a/cmd2/parsing.py
+++ b/cmd2/parsing.py
@@ -201,9 +201,7 @@ class Statement(str):
def expanded_command_line(self) -> str:
"""Contains command_and_args plus any ending terminator, suffix, and redirection chars"""
rtn = self.command_and_args
- if self.multiline_command:
- rtn += constants.MULTILINE_TERMINATOR
- elif self.terminator:
+ if self.terminator:
rtn += self.terminator
if self.suffix: