diff options
author | Jokimax <77680901+Jokimax@users.noreply.github.com> | 2024-02-02 22:13:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 22:13:00 (GMT) |
commit | c4a2e8a2c5188c3288d57b80852e92c83f46f6f3 (patch) | |
tree | 60f21e5ad2a17dcd8cad96c76e826c237eddc696 /Misc/NEWS.d | |
parent | 73d20cafb54193c94577ca60df1ba0410b3ced74 (diff) | |
download | cpython-c4a2e8a2c5188c3288d57b80852e92c83f46f6f3.zip cpython-c4a2e8a2c5188c3288d57b80852e92c83f46f6f3.tar.gz cpython-c4a2e8a2c5188c3288d57b80852e92c83f46f6f3.tar.bz2 |
gh-101599: argparse: simplify the option help string (GH-103372)
If the option with argument has short and long names,
output argument only once, after the long name:
-o, --option ARG description
instead of
-o ARG, --option ARG description
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-04-08-11-41-07.gh-issue-101599.PaWNFh.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-04-08-11-41-07.gh-issue-101599.PaWNFh.rst b/Misc/NEWS.d/next/Library/2023-04-08-11-41-07.gh-issue-101599.PaWNFh.rst new file mode 100644 index 0000000..a1608a1 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-04-08-11-41-07.gh-issue-101599.PaWNFh.rst @@ -0,0 +1 @@ +Changed argparse flag options formatting to remove redundancy. |