From db744f64f6565fbe2215f69684bfcffe9e4b80db Mon Sep 17 00:00:00 2001 From: antoinetran Date: Tue, 1 Aug 2023 15:01:28 +0200 Subject: [PATCH] docs: clarify --checksum documentation - Fixes #7145 --- fs/config/configflags/configflags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/config/configflags/configflags.go b/fs/config/configflags/configflags.go index b8bb6250d..3839691d0 100644 --- a/fs/config/configflags/configflags.go +++ b/fs/config/configflags/configflags.go @@ -52,7 +52,7 @@ func AddFlags(ci *fs.ConfigInfo, flagSet *pflag.FlagSet) { flags.StringVarP(flagSet, &configPath, "config", "", config.GetConfigPath(), "Config file", "Config") flags.StringVarP(flagSet, &cacheDir, "cache-dir", "", config.GetCacheDir(), "Directory rclone will use for caching", "Config") flags.StringVarP(flagSet, &tempDir, "temp-dir", "", os.TempDir(), "Directory rclone will use for temporary files", "Config") - flags.BoolVarP(flagSet, &ci.CheckSum, "checksum", "c", ci.CheckSum, "Skip based on checksum (if available) & size, not mod-time & size", "Copy") + flags.BoolVarP(flagSet, &ci.CheckSum, "checksum", "c", ci.CheckSum, "Check for changes with size & checksum (if available, or fallback to size only).", "Copy") flags.BoolVarP(flagSet, &ci.SizeOnly, "size-only", "", ci.SizeOnly, "Skip based on size only, not mod-time or checksum", "Copy") flags.BoolVarP(flagSet, &ci.IgnoreTimes, "ignore-times", "I", ci.IgnoreTimes, "Don't skip files that match size and time - transfer all files", "Copy") flags.BoolVarP(flagSet, &ci.IgnoreExisting, "ignore-existing", "", ci.IgnoreExisting, "Skip all files that exist on destination", "Copy")