From: Fabian Laule Date: Tue, 8 Aug 2017 13:22:25 +0000 (+0200) Subject: Fix wrong config flag name X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=50a13de6fe91eb4614a5841665dcca96d2b60841;p=blackbox_exporter.git Fix wrong config flag name --- diff --git a/main.go b/main.go index 56682cf..38ff7bd 100644 --- a/main.go +++ b/main.go @@ -38,7 +38,7 @@ var ( C: &Config{}, } - configFile = kingpin.Flag("config.flag", "Blackbox exporter configuration file.").Default("blackbox.yml").String() + configFile = kingpin.Flag("config.file", "Blackbox exporter configuration file.").Default("blackbox.yml").String() listenAddress = kingpin.Flag("web.listen-address", "The address to listen on for HTTP requests.").Default(":9115").String() timeoutOffset = kingpin.Flag("timeout-offset", "Offset to subtract from timeout in seconds.").Default("0.5").Float64() )