| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
And don't forget about a NEWS entry :)
Sorry, something went wrong.
There was a problem hiding this comment.
We now have help which shows the arguments:
❯ ./python.exe -m platform -h
usage: 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?
Sorry, something went wrong.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
The help message now gives a short description of each flag usage: python.exe -m platform [-h] [--terse] [--nonaliased] [{nonaliased,terse} ...]
positional arguments:
{nonaliased,terse}
options:
-h, --help show this help message and exit
--terse return only the absolute minimum information needed to identify the platform
--nonaliased disable system/ OS name aliasing. If aliasing is enabled, some platforms will report system names which differ from their common names, e.g. SunOS will be reported
as Solaris
|
Sorry, something went wrong.
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>
|
Maybe it's worth adding a Command-line Usage section to the platform documentation? |
Sorry, something went wrong.
This can be a followup PR. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks!
Sorry, something went wrong.
|
@donbarbos GitHub says you requested changes, is there anything outstanding on this PR? |
Sorry, something went wrong.
There was a problem hiding this comment.
sorry, I thought I was only leaving comments
Sorry, something went wrong.
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>
| Back | FazBrowse Home | New Git URL |
Closes: #131524
Related To: #131178
This PR updates the platform CLI to use argparse which adds --help flags and a usage section which was previously unavailable.