mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-09 20:16:35 +00:00
correct help message, fixes #118. typo was introduced in a66f0b5475
This commit is contained in:
@@ -169,7 +169,7 @@ func main() {
|
|||||||
showVersion = flag.Bool("version", false, "Print version information.")
|
showVersion = flag.Bool("version", false, "Print version information.")
|
||||||
listenAddress = flag.String("telemetry.addr", ":9182", "host:port for WMI exporter.")
|
listenAddress = flag.String("telemetry.addr", ":9182", "host:port for WMI exporter.")
|
||||||
metricsPath = flag.String("telemetry.path", "/metrics", "URL path for surfacing collected metrics.")
|
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.")
|
printCollectors = flag.Bool("collectors.print", false, "If true, print available collectors and exit.")
|
||||||
)
|
)
|
||||||
flag.Usage = usage
|
flag.Usage = usage
|
||||||
|
|||||||
Reference in New Issue
Block a user