]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] GH-101599: Update docs to remove redundant option in argparse tutorial (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Sep 2024 00:31:56 +0000 (02:31 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 00:31:56 +0000 (17:31 -0700)
GH-101599: Update docs to remove redundant option in argparse tutorial (GH-124025)
(cherry picked from commit e5b0185e43c972ce98decd1493cd0b0c3a6b166b)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Doc/howto/argparse.rst

index ae5bab90bf81315fa371b777bc1ac76471648a4f..30d9ac700376e60c667b99fc7a9cf2f59dde5537 100644 (file)
@@ -444,7 +444,7 @@ And the output:
 
    options:
      -h, --help            show this help message and exit
-     -v {0,1,2}, --verbosity {0,1,2}
+     -v, --verbosity {0,1,2}
                            increase output verbosity
 
 Note that the change also reflects both in the error message as well as the