config: remove error: can't use --size-only and --ignore-size together.

As sometimes they are useful together, for example when the remote
changes the sizes of the uploaded files.

See: https://forum.rclone.org/t/files-upload-will-be-auto-compress-how-do-i-sync-a-file-to-remote/10578
This commit is contained in:
Nick Craig-Wood 2019-06-24 10:25:14 +01:00
parent 25786cafd3
commit 6959c997e2

View File

@ -173,10 +173,6 @@ func SetFlags() {
fs.Config.DeleteMode = fs.DeleteModeDefault
}
if fs.Config.IgnoreSize && fs.Config.SizeOnly {
log.Fatalf(`Can't use --size-only and --ignore-size together.`)
}
if fs.Config.CompareDest != "" && fs.Config.CopyDest != "" {
log.Fatalf(`Can't use --compare-dest with --copy-dest.`)
}