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

Case sensitive --sort #63

Merged
merged 1 commit into from
Nov 21, 2022
Merged

Case sensitive --sort #63

merged 1 commit into from
Nov 21, 2022

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Nov 21, 2022

This dates back to #10 which added case_insensitive = "true", later converted to case_insensitive = true by d56c232 and ignore_case = true by 6384ced. The 2018 code must have been from before structopt had sane handling of case in enums -- probably without it structopt would have required --sort Lines/Copies. These days clap applies a rename_all = "lower" by default in derived ValueEnum impls.

@dtolnay dtolnay merged commit 9b0f9c3 into master Nov 21, 2022
@dtolnay dtolnay deleted the case branch November 21, 2022 06:09
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.

1 participant