Skip to content

Commit 17524b0

Browse files
gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (GH-92814)
(cherry picked from commit f2d994d) Co-authored-by: 180909 <[email protected]>
1 parent ed75d21 commit 17524b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ Sub-commands
16151615

16161616
.. method:: ArgumentParser.add_subparsers([title], [description], [prog], \
16171617
[parser_class], [action], \
1618-
[option_string], [dest], [required], \
1618+
[option_strings], [dest], [required], \
16191619
[help], [metavar])
16201620

16211621
Many programs split up their functionality into a number of sub-commands,

0 commit comments

Comments
 (0)