Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/argparse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1679,7 +1679,7 @@ The Namespace object
Other utilities
---------------

Sub-commands
Subcommands
^^^^^^^^^^^^

.. method:: ArgumentParser.add_subparsers(*, [title], [description], [prog], \
Expand Down Expand Up @@ -1708,7 +1708,7 @@ Sub-commands
* *description* - description for the sub-parser group in help output, by
default ``None``

* *prog* - usage information that will be displayed with sub-command help,
* *prog* - usage information that will be displayed with subcommand help,
by default the name of the program and any positional arguments before the
subparser argument

Expand All @@ -1718,7 +1718,7 @@ Sub-commands
* action_ - the basic type of action to be taken when this argument is
encountered at the command line

* dest_ - name of the attribute under which sub-command name will be
* dest_ - name of the attribute under which subcommand name will be
stored; by default ``None`` and no value is stored

* required_ - Whether or not a subcommand must be provided, by default
Expand Down
Loading