From 1b890948e8b13129dede93b28752d4f94af5e4fe Mon Sep 17 00:00:00 2001 From: jiuker <2818723467@qq.com> Date: Sat, 11 May 2024 02:47:20 +0800 Subject: [PATCH] fix: mirror --summary should work like -q (#4923) --- cmd/mirror-main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mirror-main.go b/cmd/mirror-main.go index 42980c6b..c06afc8e 100644 --- a/cmd/mirror-main.go +++ b/cmd/mirror-main.go @@ -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)