-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ArgRequiredElseHelp should take precedence over required args #362
Labels
Milestone
Comments
Vinatorul
added
C-bug
Category: Updating dependencies
C: args
A-parsing
Area: Parser's logic and needs it changed somehow.
labels
Dec 17, 2015
Thanks for taking the time to file this, I agree it should work that way. We should have this fixed and put up a new version shortly! |
Thanks for fixing this. And so fast! |
homu
added a commit
that referenced
this issue
Dec 18, 2015
fix: ArgRequiredElseHelp setting now takes precedence over missing re… …quired args Closes #362
No problem, I'll bump the version and publish 1.5.4 to crates.io 😉 |
@kbknapp do not forget to create tag 😉 |
I'd like to say I won't forget...but I always do 😜 |
v1.5.4 is out on crates.io now ...and tag created! |
Awesome! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, if we have required args present and no args are provided at run-time, clap will output an error message even if ArgRequiredElseHelp is set in the app setting.
Providing the usage without error is more friendly in this case, especially when we supply ArgRequiredElseHelp.
The text was updated successfully, but these errors were encountered: