Skip to content

Commit

Permalink
fix: mirror --summary should work like -q (#4923)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuker authored May 10, 2024
1 parent fdb36ac commit 1b89094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mirror-main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b89094

Please sign in to comment.