make the parameter format for --stats flag more obvious

This commit is contained in:
Scott McGillivray 2016-11-22 11:51:09 +08:00 committed by Nick Craig-Wood
parent 7f41c9a015
commit 5e62ede8d0

View File

@ -26,7 +26,7 @@ var (
// Flags
cpuProfile = pflag.StringP("cpuprofile", "", "", "Write cpu profile to file")
memProfile = pflag.String("memprofile", "", "Write memory profile to file")
statsInterval = pflag.DurationP("stats", "", time.Minute*1, "Interval to print stats (0 to disable)")
statsInterval = pflag.DurationP("stats", "", time.Minute*1, "Interval between printing stats, e.g 500ms, 60s, 5m. (0 to disable)")
version bool
logFile = pflag.StringP("log-file", "", "", "Log everything to this file")
retries = pflag.IntP("retries", "", 3, "Retry operations this many times if they fail")