Skip to content

Commit 8499635

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 65ebd92 commit 8499635

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
@@ -1698,7 +1698,7 @@ Sub-commands
16981698

16991699
.. method:: ArgumentParser.add_subparsers([title], [description], [prog], \
17001700
[parser_class], [action], \
1701-
[option_string], [dest], [required], \
1701+
[option_strings], [dest], [required], \
17021702
[help], [metavar])
17031703

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

0 commit comments

Comments
 (0)