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
5 changes: 3 additions & 2 deletions Doc/library/argparse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1771,8 +1771,9 @@ Subcommands

* help_ - help for sub-parser group in help output, by default ``None``

* metavar_ - string presenting available subcommands in help; by default it
is ``None`` and presents subcommands in form {cmd1, cmd2, ..}
* metavar_ - placeholder shown in usage and the subparsers' help entry
instead of ``{cmd1, cmd2, ...}``; by default ``None``.
Individual subcommand names are unchanged.

Some example usage::

Expand Down
Loading