-
Notifications
You must be signed in to change notification settings - Fork 350
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
Support Boolean flags with only NoOptDefVal
, no --foo=true
syntax.
#214
Comments
I am in favor of pairing However, thinking about the various use cases where a command might be scripted, if we enforce/automatically create export GROOMING=false
command --shave-yaks=${GROOMING} A similar case (easier scripting) could be made for allowing |
What is the status of this issue? I would love to have this as well. |
Rationale: the flag
--no-shave-yaks
alone is pretty clear: I don't want the program to shave any yaks. However--no-shave-yaks=true
and--no-shave-yaks=false
both get me confused with exactly how much negation I'm applying to all this yak-shaving.The text was updated successfully, but these errors were encountered: