Merge pull request #12745 from eparis/even-less-dash-false-positive

verify-flags-underscore.py: Even fewer dash false positives
This commit is contained in:
Saad Ali
2015-08-19 17:03:29 -07:00
9 changed files with 107 additions and 288 deletions

View File

@@ -25,8 +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")
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.
func init() {