Skip to content
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

Add test cases for the CLI help menu #4904

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Add test cases for the CLI help menu #4904

merged 1 commit into from
Jul 9, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Jul 8, 2024

No changes in behavior here, adding these test cases to demonstrate changes to come.

@zanieb zanieb added the testing Internal testing of behavior label Jul 8, 2024
@zanieb zanieb merged commit b4a7d96 into main Jul 9, 2024
49 checks passed
@zanieb zanieb deleted the zb/cli-help-test branch July 9, 2024 14:07
zanieb added a commit that referenced this pull request Jul 9, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Internal testing of behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants