diff --git a/main.go b/main.go index d8303ff..77c5b86 100644 --- a/main.go +++ b/main.go @@ -96,6 +96,7 @@ func updateConfiguration(w http.ResponseWriter, r *http.Request) { func main() { promlogConfig := &promlog.Config{} flag.AddFlags(kingpin.CommandLine, promlogConfig) + kingpin.CommandLine.UsageWriter(os.Stdout) kingpin.HelpFlag.Short('h') kingpin.Version(version.Print("ipmi_exporter")) kingpin.Parse()