diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-05-06 10:14:47 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-05-06 10:14:47 -0400 |
commit | fd1c2b9862932d9229bf28e7986f5147cf1f3451 (patch) | |
tree | 800a4ec0ec13c9d8c5d0f17870145e72b647a15c /cmd2/parsing.py | |
parent | fc41d86b275ba4bbd2dbd76c766dbc2abc138021 (diff) | |
parent | 91e271013c8580f3308d593c2d3224ecf00d8b2f (diff) | |
download | cmd2-git-fd1c2b9862932d9229bf28e7986f5147cf1f3451.tar.gz |
Merge branch 'master' into completion_exceptions
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r-- | cmd2/parsing.py | 4 |
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: |