From 909bf0c1cc94fff58773aa57bd2ded233cd53a6d Mon Sep 17 00:00:00 2001 From: kotfu Date: Fri, 14 Feb 2020 22:35:16 -0700 Subject: Add documentation of multiline_command attribute --- docs/api/parsing.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/api') 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, -- cgit v1.2.1