-
Notifications
You must be signed in to change notification settings - Fork 152
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
Combining env and flag arguments doesn't work as expected #305
Comments
It isn't really clear what the expected behavior is from your comment. I'm going to assume it's all about
Now, let's remember that I'm closing this since it's entirely about Btw, there is such a request in |
Ho! I already checked if it there was a related issue on Clap and didn't find anything. I apologize and subscribed to the clap issue at the same time :) Thank you! |
When we add the
env
attribute on aboolean
field, the command line argument, that must be considered as a flag, is considered as an attribute requiring a value.Here is what StructOpt generate with the above configuration:
And here is what I expected:
Is this behavior expected or is it not? Thank you for you help.
The text was updated successfully, but these errors were encountered: