diff options
author | kotfu <kotfu@kotfu.net> | 2020-02-14 22:35:16 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2020-02-14 22:35:16 -0700 |
commit | 909bf0c1cc94fff58773aa57bd2ded233cd53a6d (patch) | |
tree | 1af92795cd779bc2e562503710b557b1d0120c86 /docs/api | |
parent | dfffdb0707dac91505428de764b393a568980cb8 (diff) | |
download | cmd2-git-909bf0c1cc94fff58773aa57bd2ded233cd53a6d.tar.gz |
Add documentation of multiline_command attribute
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/parsing.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/api/parsing.rst b/docs/api/parsing.rst index dd800eed..4ee6606d 100644 --- a/docs/api/parsing.rst +++ b/docs/api/parsing.rst @@ -8,6 +8,11 @@ cmd2.parsing The name of the command after shortcuts and macros have been expanded + .. attribute:: multiline_command + + If the command is a multi-line command, the name of the command will be + in this attribute. Otherwise, it will be an empty string. + .. attribute:: args The arguments to the command as a string with spaces between the words, |