diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-02-24 17:30:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 17:30:34 -0500 |
commit | d25fd7146131688e934290a3c5bf0407e904dbb2 (patch) | |
tree | 5fd4b905157eafbf3ea0071bfd625763b109ee78 /docs/features/argument_processing.rst | |
parent | fea1bc15f4a53aa72d16c2985377fe3987b6b348 (diff) | |
parent | 803f71a04d7f7290ca1390a164808679f5943178 (diff) | |
download | cmd2-git-d25fd7146131688e934290a3c5bf0407e904dbb2.tar.gz |
Merge pull request #899 from python-cmd2/api_docs
API documentation
Diffstat (limited to 'docs/features/argument_processing.rst')
-rw-r--r-- | docs/features/argument_processing.rst | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/features/argument_processing.rst b/docs/features/argument_processing.rst index 82244d7e..204c2876 100644 --- a/docs/features/argument_processing.rst +++ b/docs/features/argument_processing.rst @@ -342,10 +342,8 @@ Argparse Extensions - ``nargs=(5,)`` - accept 5 or more items - ``nargs=(8, 12)`` - accept 8 to 12 items -``cmd2`` also provides the ``Cmd2ArgumentParser`` class which inherits from -``argparse.ArgumentParser`` and improves error and help output: - -.. autoclass:: cmd2.argparse_custom.Cmd2ArgumentParser - :members: +``cmd2`` also provides the :class:`cmd2.argparse_custom.Cmd2ArgumentParser` +class which inherits from ``argparse.ArgumentParser`` and improves error and +help output. |