From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 18 May 2022 21:30:00 +0000 (-0700) Subject: gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (GH-92814) X-Git-Tag: v3.10.5~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17524b084b565b321b4671f50a62864ea907b24f;p=thirdparty%2FPython%2Fcpython.git gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (GH-92814) (cherry picked from commit f2d994da104eed38f9e110e7d8f37fa6d845b207) Co-authored-by: 180909 <734461790@qq.com> --- diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index e8e54d6c58df..d96f17b80a5f 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -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,