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