Skip to content

feat(help): Merge lists of short and long aliases #5999

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

Merged
merged 2 commits into from
May 27, 2025

Conversation

cenviity
Copy link
Contributor

@cenviity cenviity commented May 11, 2025

Short aliases are displayed before long aliases, consistent with the order of the short and long argument variants at the start of each line.

Based on this suggestion from @epage.

@cenviity cenviity force-pushed the push-tqqzyttsoktu branch from b9a07ea to 06fb930 Compare May 26, 2025 06:30
@cenviity cenviity changed the title feat(help): Merge lists of short and long aliases in output feat(help): Merge lists of short and long aliases May 26, 2025
cenviity added 2 commits May 26, 2025 16:32
This is consistent with the order of the short and long argument
variants at the start of each line.
@cenviity cenviity force-pushed the push-tqqzyttsoktu branch from 06fb930 to c758212 Compare May 26, 2025 06:33
@epage
Copy link
Member

epage commented May 27, 2025

Thanks!

@epage epage merged commit 493a71a into clap-rs:master May 27, 2025
25 checks passed
@cenviity cenviity deleted the push-tqqzyttsoktu branch May 28, 2025 00:32
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.

2 participants