We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 822bf1a commit 693d700Copy full SHA for 693d700
1 file changed
cmd2/argparse_custom.py
@@ -1003,6 +1003,8 @@ def _SubParsersAction_add_existing_parser( # noqa: N802
1003
This function is added by cmd2 as a method called ``add_existing_parser()``
1004
to ``argparse._SubParsersAction`` class.
1005
1006
+ To call: ``action.add_existing_parser(name, subcmd_parser, **add_parser_kwargs)``
1007
+
1008
:param self: instance of the _SubParsersAction being edited
1009
:param name: name of the subcommand to add
1010
:param subcmd_parser: the parser for this new subcommand
0 commit comments