Uh oh!
There was an error while loading. Please reload this page.
gh-131524: Update platform CLI to use argparse - #131542
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
sobolevn
left a comment
There was a problem hiding this comment.
And don't forget about a NEWS entry :)
hugovk
left a comment
There was a problem hiding this comment.
We now have help which shows the arguments:
❯ ./python.exe -m platform -husage: python.exe -m platform [-h] [--terse] [--nonaliased] [{nonaliased,terse} ...]positional arguments: {nonaliased,terse}options: -h, --help show this help message and exit --terse --nonaliasedBut doesn't say what they do. Please can you add short descriptions?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Harry-Lees
commented
Mar 21, 2025
The help message now gives a short description of each flag |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
donbarbos
commented
Apr 30, 2025
Maybe it's worth adding a |
hugovk
commented
May 3, 2025
This can be a followup PR. |
hugovk
commented
May 3, 2025
@donbarbos GitHub says you requested changes, is there anything outstanding on this PR? |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Closes: #131524
Related To: #131178
This PR updates the platform CLI to use argparse which adds
--helpflags and a usage section which was previously unavailable.platformCLI #131524