forked from TrueCloudLab/rclone
fs: Always show stats when using --dry-run or --interactive #4624
This commit is contained in:
parent
1d40bc1901
commit
f425950a52
1 changed files with 3 additions and 0 deletions
|
@ -150,6 +150,9 @@ func SetFlags(ci *fs.ConfigInfo) {
|
||||||
} else if verbose >= 1 {
|
} else if verbose >= 1 {
|
||||||
ci.LogLevel = fs.LogLevelInfo
|
ci.LogLevel = fs.LogLevelInfo
|
||||||
}
|
}
|
||||||
|
if (ci.DryRun || ci.Interactive) && ci.StatsLogLevel > fs.LogLevelNotice {
|
||||||
|
ci.StatsLogLevel = fs.LogLevelNotice
|
||||||
|
}
|
||||||
if quiet {
|
if quiet {
|
||||||
if verbose > 0 {
|
if verbose > 0 {
|
||||||
log.Fatalf("Can't set -v and -q")
|
log.Fatalf("Can't set -v and -q")
|
||||||
|
|
Loading…
Reference in a new issue