fixup: remove unnecessary WithVerbose option from progressListener

This commit is contained in:
Luke K 2020-08-31 09:45:20 +09:00
parent 00ac880c3b
commit 89c09d9a78
No known key found for this signature in database
GPG Key ID: 4896F75BAF2E1966
1 changed files with 0 additions and 9 deletions

View File

@ -59,15 +59,6 @@ func WithOutput(w io.Writer) Option {
}
}
// WithVerbose indicates the system is in verbose mode, and writing an
// animated line via terminal codes would interrupt the flow of logs.
// When in verbose mode, the bar will print simple status update lines.
func WithVerbose(v bool) Option {
return func(b *Bar) {
b.Verbose = v
}
}
// WithPrintHeadless allows for overriding the default behavior of
// squelching all output when the terminal is detected as headless
// (noninteractive)