From 849963598fa0454ef1bc9c93f5654d63f59e830d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 18 May 2022 14:25:25 -0700 Subject: [PATCH] gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (GH-92814) (cherry picked from commit f2d994da104eed38f9e110e7d8f37fa6d845b207) Co-authored-by: 180909 <734461790@qq.com> --- Doc/library/argparse.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 1f40e4a84505..76efed95bd4c 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1698,7 +1698,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, -- 2.47.2