summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api/decorators.rst8
-rw-r--r--docs/api/utility_functions.rst2
-rw-r--r--docs/features/argument_processing.rst6
3 files changed, 8 insertions, 8 deletions
diff --git a/docs/api/decorators.rst b/docs/api/decorators.rst
index d7bfa138..a5fc022e 100644
--- a/docs/api/decorators.rst
+++ b/docs/api/decorators.rst
@@ -1,10 +1,10 @@
Decorators
==========
-.. autofunction:: cmd2.cmd2.with_category
+.. autofunction:: cmd2.decorators.with_category
-.. autofunction:: cmd2.cmd2.with_argument_list
+.. autofunction:: cmd2.decorators.with_argument_list
-.. autofunction:: cmd2.cmd2.with_argparser_and_unknown_args
+.. autofunction:: cmd2.decorators.with_argparser_and_unknown_args
-.. autofunction:: cmd2.cmd2.with_argparser
+.. autofunction:: cmd2.decorators.with_argparser
diff --git a/docs/api/utility_functions.rst b/docs/api/utility_functions.rst
index 57a720bf..86fb656c 100644
--- a/docs/api/utility_functions.rst
+++ b/docs/api/utility_functions.rst
@@ -7,7 +7,7 @@ Utility Functions
.. autofunction:: cmd2.utils.strip_quotes
-.. autofunction:: cmd2.cmd2.categorize
+.. autofunction:: cmd2.decorators.categorize
.. autofunction:: cmd2.utils.center_text
diff --git a/docs/features/argument_processing.rst b/docs/features/argument_processing.rst
index 4d87282c..a3d4a3aa 100644
--- a/docs/features/argument_processing.rst
+++ b/docs/features/argument_processing.rst
@@ -40,11 +40,11 @@ Decorators provided by cmd2 for argument processing
``cmd2`` provides the following decorators for assisting with parsing arguments
passed to commands:
-.. automethod:: cmd2.cmd2.with_argument_list
+.. automethod:: cmd2.decorators.with_argument_list
:noindex:
-.. automethod:: cmd2.cmd2.with_argparser
+.. automethod:: cmd2.decorators.with_argparser
:noindex:
-.. automethod:: cmd2.cmd2.with_argparser_and_unknown_args
+.. automethod:: cmd2.decorators.with_argparser_and_unknown_args
:noindex:
All of these decorators accept an optional **preserve_quotes** argument which