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

feat: Show user defined help flags in hints #5574

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

zanieb
Copy link
Contributor

@zanieb zanieb commented Jul 8, 2024

Discussion at #5573

The first commit adds test cases, the second updates the "try 'help'" hints to use user-defined help flags.

@zanieb zanieb force-pushed the zb/try-help-custom branch 2 times, most recently from 0c82929 to a2f53d0 Compare July 8, 2024 22:38
@zanieb zanieb changed the title feat: show user defined help flags during help hints if present feat: Show user defined help flags in hints Jul 8, 2024
tests/builder/subcommands.rs Outdated Show resolved Hide resolved
@zanieb zanieb force-pushed the zb/try-help-custom branch 2 times, most recently from 6279fa3 to 03f300d Compare July 9, 2024 00:00
This allows display of user-defined help flags during "try 'help'" style
messages
@zanieb zanieb marked this pull request as ready for review July 9, 2024 00:02
@epage epage merged commit da1093a into clap-rs:master Jul 9, 2024
22 checks passed
@zanieb
Copy link
Contributor Author

zanieb commented Jul 9, 2024

@epage thanks for the fast turnaround! <3

@zanieb zanieb mentioned this pull request Jul 9, 2024
zanieb added a commit to astral-sh/uv that referenced this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants