mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
fs: Always show stats when using --dry-run or --interactive #4624
This commit is contained in:
parent
1d40bc1901
commit
f425950a52
@ -150,6 +150,9 @@ func SetFlags(ci *fs.ConfigInfo) {
|
||||
} else if verbose >= 1 {
|
||||
ci.LogLevel = fs.LogLevelInfo
|
||||
}
|
||||
if (ci.DryRun || ci.Interactive) && ci.StatsLogLevel > fs.LogLevelNotice {
|
||||
ci.StatsLogLevel = fs.LogLevelNotice
|
||||
}
|
||||
if quiet {
|
||||
if verbose > 0 {
|
||||
log.Fatalf("Can't set -v and -q")
|
||||
|
Loading…
Reference in New Issue
Block a user