summaryrefslogtreecommitdiff
path: root/cmd2/parsing.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-08-01 15:14:41 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-08-01 15:14:41 -0400
commitb9226c4ccf6e8227b106f0b29d7bde02ad19ecc3 (patch)
treed201acb74240e98353879d49d94ec4b907b5e2a0 /cmd2/parsing.py
parentbb66b9201b8a33fa176cc11b4c49956a96e678a8 (diff)
downloadcmd2-git-b9226c4ccf6e8227b106f0b29d7bde02ad19ecc3.tar.gz
Added terminators to cmd2.Cmd's docstring
Diffstat (limited to 'cmd2/parsing.py')
-rw-r--r--cmd2/parsing.py4
1 files changed, 2 insertions, 2 deletions
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