Merge pull request #1408 from prometheus/hostname

Log argument parse errors
This commit is contained in:
Fabian Reinartz 2016-02-19 12:22:12 +01:00
commit fce17b41c5
1 changed files with 1 additions and 0 deletions

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
}