From 50a13de6fe91eb4614a5841665dcca96d2b60841 Mon Sep 17 00:00:00 2001 From: Fabian Laule Date: Tue, 8 Aug 2017 15:22:25 +0200 Subject: [PATCH] Fix wrong config flag name --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) -- 2.25.1