mirror of https://github.com/python/cpython.git
gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (GH-92814)
(cherry picked from commit f2d994da10
)
Co-authored-by: 180909 <734461790@qq.com>
This commit is contained in:
parent
ed75d2183f
commit
17524b084b
|
@ -1615,7 +1615,7 @@ Sub-commands
|
|||
|
||||
.. method:: ArgumentParser.add_subparsers([title], [description], [prog], \
|
||||
[parser_class], [action], \
|
||||
[option_string], [dest], [required], \
|
||||
[option_strings], [dest], [required], \
|
||||
[help], [metavar])
|
||||
|
||||
Many programs split up their functionality into a number of sub-commands,
|
||||
|
|
Loading…
Reference in New Issue