mirror of
https://github.com/kopia/kopia.git
synced 2026-05-24 06:34:46 -04:00
cli: 'snapshot create' switched all stderr output to use logger (#663)
This allows 'kopia snap create --all --log-level=warning --no-progress' to produce no console output unless an error is encountered.
This commit is contained in:
@@ -252,6 +252,10 @@ func (p *cliProgress) Finish() {
|
||||
atomic.StoreInt32(&p.uploading, 0)
|
||||
|
||||
p.output(defaultColor, "")
|
||||
|
||||
if *enableProgress {
|
||||
printStderr("\n")
|
||||
}
|
||||
}
|
||||
|
||||
var progress = &cliProgress{}
|
||||
|
||||
Reference in New Issue
Block a user