diff --git a/container_option.go b/container_option.go index c482576..9fe67bf 100644 --- a/container_option.go +++ b/container_option.go @@ -77,9 +77,9 @@ } } -// WithOutput overrides default os.Stdout output. Setting it to nil -// will effectively disable auto refresh rate and discard any output, -// useful if you want to disable progress bars with little overhead. +// WithOutput overrides default os.Stdout output. If underlying io.Writer +// is not a terminal then auto refresh is disabled unless ForceAutoRefresh +// option is provided. func WithOutput(w io.Writer) ContainerOption { if w == nil { w = io.Discard