Skip to content

Commit

Permalink
Merge pull request #44 from ploxiln/arg_help_spelling
Browse files Browse the repository at this point in the history
"fix" some command argument help text
  • Loading branch information
mreiferson committed Dec 13, 2014
2 parents 6f3a231 + fdffaf2 commit bc11d40
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions statsdaemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,15 @@ var (
flushInterval = flag.Int64("flush-interval", 10, "Flush interval (seconds)")
debug = flag.Bool("debug", false, "print statistics sent to graphite")
showVersion = flag.Bool("version", false, "print version string")
persistCountKeys = flag.Int64("persist-count-keys", 60, "number of flush-interval's to persist count keys")
receiveCounter = flag.String("receive-counter", "", "Metric name for total metrics recevied per interval")
persistCountKeys = flag.Int64("persist-count-keys", 60, "number of flush-intervals to persist count keys")
receiveCounter = flag.String("receive-counter", "", "Metric name for total metrics received per interval")
percentThreshold = Percentiles{}
prefix = flag.String("prefix", "", "Prefix for all stats")
)

func init() {
flag.Var(&percentThreshold, "percent-threshold", "Threshold percent (0-100, may be given multiple times)")
flag.Var(&percentThreshold, "percent-threshold",
"percentile calculation for timers (0-100, may be given multiple times)")
}

var (
Expand Down

0 comments on commit bc11d40

Please sign in to comment.