flag icon indicating copy to clipboard operation
flag copied to clipboard

print error from config file parsing by default

Open tmc opened this issue 8 years ago • 1 comments

That providing undefined arguments prints some help and exits but -config (nonexistent) doesn't print anything seems like a bit of a mismatch. I realize CommandLine has ExitOnError on by default but figured I'd open up a discussion. What about an explicit check for the file's presence and performing an f.failf in that case?

tmc avatar Jun 25 '17 03:06 tmc

I'm with @tmc on this one. I'm happy to issue a PR if it will be considered.

johnrichardrinehart avatar May 30 '19 05:05 johnrichardrinehart