From 5e62ede8d0c40d7db200e920750df369f3d60faa Mon Sep 17 00:00:00 2001 From: Scott McGillivray Date: Tue, 22 Nov 2016 11:51:09 +0800 Subject: [PATCH] make the parameter format for --stats flag more obvious --- cmd/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index 64a6eafa1..17cac7c6c 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -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")