-
Notifications
You must be signed in to change notification settings - Fork 1
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
Tools 2673 don't print usage information when config validation fails #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to print the usage information if we can't unmarshal the input file, if we can't open the output file, or if we can't write to the output file. Personally, if they provided syntactically correct input I don't think usage information should be displayed. It is interesting that we need to explicitly specify cmd.SilenceUsage=true
. I don't remember needing to do that for the uda. Most of this logic seemed to be handled automatically.
If you think otherwise we can just merge it
I think the |
The latest commit unifies error displaying behavior by.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM=
No description provided.