coreos / mayday

A diagnostics tool for capturing system state.
Apache License 2.0
81 stars 27 forks source link

Help message not displayed when config is missing #37

Closed brianredbeard closed 8 years ago

brianredbeard commented 8 years ago

When there is an invalid config file/config file is missing --help does not work.

$ sudo ./mayday --help
2016/07/19 21:13:22 Fatal error reading config: %s 
Unsupported Config Type ""

This makes it challenging for users to ascertain what's going wrong when running in an invalid configuration.

tschuy commented 8 years ago

Fixed by #36

brianredbeard commented 8 years ago

Resolved.