mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #1408 from prometheus/hostname
Log argument parse errors
This commit is contained in:
commit
fce17b41c5
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue