diff --git a/node_exporter.go b/node_exporter.go index 2347a490..0e5e680e 100644 --- a/node_exporter.go +++ b/node_exporter.go @@ -168,6 +168,7 @@ func main() { promlogConfig := &promlog.Config{} flag.AddFlags(kingpin.CommandLine, promlogConfig) kingpin.Version(version.Print("node_exporter")) + kingpin.CommandLine.UsageWriter(os.Stdout) kingpin.HelpFlag.Short('h') kingpin.Parse() logger := promlog.New(promlogConfig)