mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
make the parameter format for --stats flag more obvious
This commit is contained in:
parent
7f41c9a015
commit
5e62ede8d0
@ -26,7 +26,7 @@ var (
|
|||||||
// Flags
|
// Flags
|
||||||
cpuProfile = pflag.StringP("cpuprofile", "", "", "Write cpu profile to file")
|
cpuProfile = pflag.StringP("cpuprofile", "", "", "Write cpu profile to file")
|
||||||
memProfile = pflag.String("memprofile", "", "Write memory 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
|
version bool
|
||||||
logFile = pflag.StringP("log-file", "", "", "Log everything to this file")
|
logFile = pflag.StringP("log-file", "", "", "Log everything to this file")
|
||||||
retries = pflag.IntP("retries", "", 3, "Retry operations this many times if they fail")
|
retries = pflag.IntP("retries", "", 3, "Retry operations this many times if they fail")
|
||||||
|
Loading…
Reference in New Issue
Block a user