summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2020-02-10 16:06:29 -0700
committerkotfu <kotfu@kotfu.net>2020-02-10 16:06:29 -0700
commit9c6f1304816707e38c74926c93f62e48836b95c9 (patch)
tree07421a95b26ab2f0b76109d0fd3d3d2b52fbeef0 /docs/api
parentf4c745573e4d777d53e1bcfac743c3b437904034 (diff)
parent53a5cef6d56418528e969f55855906f7f602a7b1 (diff)
downloadcmd2-git-9c6f1304816707e38c74926c93f62e48836b95c9.tar.gz
Merge branch 'api_docs' of https://github.com/python-cmd2/cmd2 into api_docs
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/cmd.rst16
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/api/cmd.rst b/docs/api/cmd.rst
index e20e8eff..213a14ec 100644
--- a/docs/api/cmd.rst
+++ b/docs/api/cmd.rst
@@ -6,14 +6,26 @@ cmd2.Cmd
.. automethod:: __init__
+ .. attribute:: continuation_prompt
+
+ Use as prompt for multiline commands on the 2nd+ line of input.
+ Default: ``>``.
+
+ .. attribute:: default_error
+
+ The error message displayed when a non-existent command is run.
+ Default: ``{} is not a recognized command, alias, or macro``
+
.. attribute:: help_error
The error message displayed to the user when they request help for a
command with no help defined.
+ Default: ``No help on {}``
- .. attribute:: default_error
+ .. attribute:: prompt
- The error message displayed when a non-existent command is run.
+ The prompt issued to solicit input.
+ Default: ``(Cmd)``.
.. attribute:: settable