fix: mirror --summary should work like -q (#4923)

This commit is contained in:
jiuker
2024-05-10 11:47:20 -07:00
committed by GitHub
parent fdb36acbb1
commit 1b890948e8
+1 -1
View File
@@ -873,7 +873,7 @@ func newMirrorJob(srcURL, dstURL string, opts mirrorOptions) *mirrorJob {
// we'll define the status to use here,
// do we want the quiet status? or the progressbar
if globalQuiet {
if globalQuiet || opts.isSummary {
mj.status = NewQuietStatus(mj.parallel)
} else if globalJSON {
mj.status = NewQuietStatus(mj.parallel)