From bd95a11998f338dda53ed79fef46e2801b89f47e Mon Sep 17 00:00:00 2001 From: kotfu Date: Sat, 22 Feb 2020 12:59:01 -0700 Subject: Add argparse stuff to api --- docs/features/argument_processing.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'docs/features/argument_processing.rst') 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. -- cgit v1.2.1