Skip to content

Commit f2d994d

Browse files
authored
gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (#92814)
1 parent a4460f2 commit f2d994d

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
@@ -1701,7 +1701,7 @@ Sub-commands
17011701

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

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

0 commit comments

Comments
 (0)