fix: mirror --summary should work like -q (#4923)
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user