From 94caf8ee61027bd02ae694353597741182b00829 Mon Sep 17 00:00:00 2001 From: Martin Lindhe Date: Thu, 7 Sep 2017 14:28:27 +0200 Subject: [PATCH] correct help message, fixes #118. typo was introduced in a66f0b54751e95a83c5c2d50cee375b5411d36fb --- exporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter.go b/exporter.go index 09ea62b4..ee97403f 100644 --- a/exporter.go +++ b/exporter.go @@ -169,7 +169,7 @@ func main() { showVersion = flag.Bool("version", false, "Print version information.") listenAddress = flag.String("telemetry.addr", ":9182", "host:port for WMI exporter.") metricsPath = flag.String("telemetry.path", "/metrics", "URL path for surfacing collected metrics.") - enabledCollectors = flag.String("collectors.enabled", filterAvailableCollectors(defaultCollectors), "Comma-separated list of collectors to use. Use '[default]' as a placeholder for all the collectors enabled by default") + enabledCollectors = flag.String("collectors.enabled", filterAvailableCollectors(defaultCollectors), "Comma-separated list of collectors to use. Use '[defaults]' as a placeholder for all the collectors enabled by default") printCollectors = flag.Bool("collectors.print", false, "If true, print available collectors and exit.") ) flag.Usage = usage