Change flags to use dashes in help

This commit is contained in:
Tim Hockin
2015-04-23 23:10:33 -07:00
parent 6694eff020
commit a3d45fada8
40 changed files with 164 additions and 163 deletions

View File

@@ -25,6 +25,7 @@ import (
"github.com/spf13/pflag"
)
// Uses _ instead of - to better align with glog flags.
var logFlushFreq = pflag.Duration("log_flush_frequency", 5*time.Second, "Maximum number of seconds between log flushes")
// TODO(thockin): This is temporary until we agree on log dirs and put those into each cmd.