summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-05-18 21:30:00 (GMT)
committerGitHub <noreply@github.com>2022-05-18 21:30:00 (GMT)
commit17524b084b565b321b4671f50a62864ea907b24f (patch)
tree96eee35c63b12bff25a6846953ed1174a8cafe4c
parented75d2183f9084583e2ebe9229c52711d4a62f1e (diff)
downloadcpython-17524b084b565b321b4671f50a62864ea907b24f.zip
cpython-17524b084b565b321b4671f50a62864ea907b24f.tar.gz
cpython-17524b084b565b321b4671f50a62864ea907b24f.tar.bz2
gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (GH-92814)
(cherry picked from commit f2d994da104eed38f9e110e7d8f37fa6d845b207) Co-authored-by: 180909 <734461790@qq.com>
-rw-r--r--Doc/library/argparse.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index e8e54d6..d96f17b 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,