From b9226c4ccf6e8227b106f0b29d7bde02ad19ecc3 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Thu, 1 Aug 2019 15:14:41 -0400 Subject: Added terminators to cmd2.Cmd's docstring --- cmd2/parsing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd2/parsing.py') diff --git a/cmd2/parsing.py b/cmd2/parsing.py index dfa248e9..db085f5f 100644 --- a/cmd2/parsing.py +++ b/cmd2/parsing.py @@ -185,7 +185,7 @@ class Statement(str): """Combine command and args with a space separating them. Quoted arguments remain quoted. Output redirection and piping are - excluded, as are any multiline command terminators. + excluded, as are any command terminators. """ if self.command and self.args: rtn = '{} {}'.format(self.command, self.args) @@ -258,7 +258,7 @@ class StatementParser: * shortcuts :param allow_redirection: should redirection and pipes be allowed? - :param terminators: iterable containing strings which should terminate multiline commands + :param terminators: iterable containing strings which should terminate commands :param multiline_commands: iterable containing the names of commands that accept multiline input :param aliases: dictionary containing aliases :param shortcuts: dictionary containing shortcuts -- cgit v1.2.1