-
Notifications
You must be signed in to change notification settings - Fork 778
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display short help menu when
--help
is used (#4772)
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.
- Loading branch information
Showing
2 changed files
with
46 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters