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

fix(complete): make short options case-sensitive in PowerShell #4992

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

RubixDev
Copy link
Contributor

@RubixDev RubixDev commented Jul 4, 2023

fixes #2145

PowerShell treats CompletionResults with a listItemText of s the same as with S. After some searching, I did not find any setting to make it case-sensitive, so I went with the method suggested in the original issue: appending a space to uppercase options to distinguish them from lowercase option without any visual difference.

@epage epage merged commit f7b32cc into clap-rs:master Jul 5, 2023
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.

clap_generate PowerShell script does not complete case sensitive options like -S. Only completes -s
2 participants