diff --git a/lib/logger/flag.go b/lib/logger/flag.go index 1383cad94..565e2bd0d 100644 --- a/lib/logger/flag.go +++ b/lib/logger/flag.go @@ -10,13 +10,13 @@ import ( func logAllFlags() { Infof("build version: %s", buildinfo.Version) - Infof("command line flags") + Infof("command-line flags") flag.Visit(func(f *flag.Flag) { lname := strings.ToLower(f.Name) value := f.Value.String() if flagutil.IsSecretFlag(lname) { value = "secret" } - Infof("flag %q=%q", f.Name, value) + Infof(" -%s=%q", f.Name, value) }) }