diff options
author | kotfu <kotfu@kotfu.net> | 2020-02-22 12:59:01 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2020-02-22 12:59:01 -0700 |
commit | bd95a11998f338dda53ed79fef46e2801b89f47e (patch) | |
tree | 07d9e2a1e653bb0124b039718ddd422511a8a458 /docs/features/argument_processing.rst | |
parent | f5806d06e0c453c189c99a1dce5ef98208c4d8cf (diff) | |
download | cmd2-git-bd95a11998f338dda53ed79fef46e2801b89f47e.tar.gz |
Add argparse stuff to api
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. |