-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Use paging for uv help
display when available
#4909
Conversation
1d97fa8
to
1bbf87c
Compare
95f4105
to
95e55b9
Compare
I feel like I'm always drowning in the help output from `uv` because we have so many options. I basically agree with the commentary in clap-rs/clap#4687 that having different behaviors for `-h` and `--help` is surprising. I think `--help` is more obvious for users and I want to optimize for that experience. This roughly matches the help menus in Cargo and pip. The `uv help` command can be used for long help. In #4906 and #4909 we improve that command. Extends #4904 which adds test cases for the existing behavior.
b12be73
to
d994157
Compare
ca1caee
to
5736207
Compare
It is customary to consult the |
@bluetech thanks for pointing that out! I probably won't address here just to keep things simple (and we're doing what Cargo does which is a reasonable starting point). I'd welcome a pull request to add support for |
Extends #4906
Adds paged display of "long' help to
uv help
invocations whenless
ormore
is available.