-
Notifications
You must be signed in to change notification settings - Fork 13
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
--uppercase false
does not work
#16
Comments
This was referenced Jun 29, 2023
Merged
paul-hansen
added a commit
to paul-hansen/sleek
that referenced
this issue
Jan 20, 2024
Closes nrempel#16 Fixes the value of the uppercase option always being true. This was due to the design of claps boolean flags which is discussed here: clap-rs/clap#1649 (comment) This PR uses the solution mentioned in the linked comment from that thread. Using `require_equals` and `default_missing_value` allows `sleek --uppercase "queries/*sql"` to still work without trying to parse the path as the uppercase boolean, reducing breakage. Use `--uppercase=false` to disable uppercase, NOT `--uppercase false`.
paul-hansen
added a commit
to paul-hansen/sleek
that referenced
this issue
Jan 20, 2024
Closes nrempel#16 Fixes the value of the uppercase option always being true. This was due to the design of claps boolean flags which is discussed here: clap-rs/clap#1649 (comment) This PR uses the solution mentioned in the linked comment from that thread. Using `require_equals` and `default_missing_value` allows `sleek --uppercase "queries/*sql"` to still work without trying to parse the path as the uppercase boolean, reducing breakage. Use `--uppercase=false` to disable uppercase, NOT `--uppercase false`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: