-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-93217: fix some issues in man page and --help #93219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You may want to get a second opinion about --check-hash-based-pycs
though.
Python/initconfig.c
Outdated
--check-hash-based-pycs always|default|never:\n\ | ||
control how Python invalidates hash-based .pyc files\n\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing this was kept separate because it is a long arg. I don't have much opinion on whether it should be kept separate or not. 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t mind it staying at the end (edit: but not after -X options
), but then I would move the item in the man page to match!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whatever works. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the long options at the end of --help
output, especially after the other PR that adds --help-env
, --help-xoptions
and --help-all
). I am also not reordering the man page: long options are on the last line of the synopsis, and in alphabetical order in the full doc, both of which are good.
Thanks @merwok for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
(cherry picked from commit da39719) Co-authored-by: Éric <merwok@netwok.org>
Sorry, @merwok, I could not cleanly backport this to |
GH-93260 is a backport of this pull request to the 3.11 branch. |
GH-93261 is a backport of this pull request to the 3.10 branch. |
Thanks for doing this, @merwok! |
No description provided.