summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/cmd.rst4
-rw-r--r--docs/api/decorators.rst8
-rw-r--r--docs/api/exceptions.rst4
3 files changed, 8 insertions, 8 deletions
diff --git a/docs/api/cmd.rst b/docs/api/cmd.rst
index ee8d7c67..e20e8eff 100644
--- a/docs/api/cmd.rst
+++ b/docs/api/cmd.rst
@@ -1,9 +1,11 @@
cmd2.Cmd
========
-.. autoclass:: cmd2.cmd2.Cmd
+.. autoclass:: cmd2.Cmd
:members:
+ .. automethod:: __init__
+
.. attribute:: help_error
The error message displayed to the user when they request help for a
diff --git a/docs/api/decorators.rst b/docs/api/decorators.rst
index a5fc022e..12ab62fa 100644
--- a/docs/api/decorators.rst
+++ b/docs/api/decorators.rst
@@ -1,10 +1,10 @@
Decorators
==========
-.. autofunction:: cmd2.decorators.with_category
-
-.. autofunction:: cmd2.decorators.with_argument_list
+.. autofunction:: cmd2.decorators.with_argparser
.. autofunction:: cmd2.decorators.with_argparser_and_unknown_args
-.. autofunction:: cmd2.decorators.with_argparser
+.. autofunction:: cmd2.decorators.with_argument_list
+
+.. autofunction:: cmd2.decorators.with_category
diff --git a/docs/api/exceptions.rst b/docs/api/exceptions.rst
index 656c4a5a..400993aa 100644
--- a/docs/api/exceptions.rst
+++ b/docs/api/exceptions.rst
@@ -1,6 +1,4 @@
Exceptions
==========
-.. autoexception:: cmd2.cmd2.EmbeddedConsoleExit
-
-.. autoexception:: cmd2.cmd2.EmptyStatement
+.. autoexception:: cmd2.EmptyStatement