Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

print error from config file parsing by default #17

Open
tmc opened this issue Jun 25, 2017 · 1 comment
Open

print error from config file parsing by default #17

tmc opened this issue Jun 25, 2017 · 1 comment

Comments

@tmc
Copy link

tmc commented Jun 25, 2017

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?

@johnrichardrinehart
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants