From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 22 Nov 2022 22:17:20 +0000 (-0800) Subject: [3.11] gh-99650 : Updated argparse docs (GH-99653) (GH-99705) X-Git-Tag: v3.11.1~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4ae5b76eda087985624e8c1ef4f9eb825d9dd89;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-99650 : Updated argparse docs (GH-99653) (GH-99705) --- diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index bcbb38a05e8b..67ca6e77bc00 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1933,7 +1933,7 @@ Argument groups .. method:: ArgumentParser.add_argument_group(title=None, description=None) By default, :class:`ArgumentParser` groups command-line arguments into - "positional arguments" and "optional arguments" when displaying help + "positional arguments" and "options" when displaying help messages. When there is a better conceptual grouping of arguments than this default one, appropriate groups can be created using the :meth:`add_argument_group` method::