mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 12:04:11 +08:00
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:
parent
25786cafd3
commit
6959c997e2
|
@ -173,10 +173,6 @@ func SetFlags() {
|
||||||
fs.Config.DeleteMode = fs.DeleteModeDefault
|
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 != "" {
|
if fs.Config.CompareDest != "" && fs.Config.CopyDest != "" {
|
||||||
log.Fatalf(`Can't use --compare-dest with --copy-dest.`)
|
log.Fatalf(`Can't use --compare-dest with --copy-dest.`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user