diff options
author | kotfu <kotfu@kotfu.net> | 2020-02-09 11:40:57 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2020-02-09 11:40:57 -0700 |
commit | 508014ab9860c7dcd7c9530793ebdb71cde6e5f2 (patch) | |
tree | be35d9cd8cb3961aaaadd9157434f74594cd6006 | |
parent | f08f7d2a6d03d4654903d2d5bea33bf24f661a00 (diff) | |
download | cmd2-git-508014ab9860c7dcd7c9530793ebdb71cde6e5f2.tar.gz |
Title decorator documentation by package name
-rw-r--r-- | docs/api/decorators.rst | 4 | ||||
-rw-r--r-- | docs/features/completion.rst | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/api/decorators.rst b/docs/api/decorators.rst index 12ab62fa..e5ca4c7e 100644 --- a/docs/api/decorators.rst +++ b/docs/api/decorators.rst @@ -1,5 +1,5 @@ -Decorators -========== +cmd2.decorators +=============== .. autofunction:: cmd2.decorators.with_argparser diff --git a/docs/features/completion.rst b/docs/features/completion.rst index 14a98caf..c8b0a813 100644 --- a/docs/features/completion.rst +++ b/docs/features/completion.rst @@ -36,8 +36,8 @@ similar to the following to your class which inherits from ``cmd2.Cmd``:: Tab Completion Using Argparse Decorators ---------------------------------------- -When using one the Argparse-based :ref:`api/decorators:Decorators`, ``cmd2`` -provides automatic tab-completion of flag names. +When using one the Argparse-based :ref:`api/decorators:cmd2.decorators`, +``cmd2`` provides automatic tab-completion of flag names. Tab-completion of argument values can be configured by using one of five parameters to ``argparse.ArgumentParser.add_argument()`` |