Log argument parse errors

Fixes #1407
This commit is contained in:
Fabian Reinartz 2016-02-19 12:18:19 +01:00
parent b447002309
commit e62677d7ba

View file

@ -62,6 +62,7 @@ var (
// Main manages the startup and shutdown lifecycle of the entire Prometheus server.
func Main() int {
if err := parse(os.Args[1:]); err != nil {
log.Error(err)
return 2
}