typo fix
Vladimir Bauer
6 years ago
| 54 | 54 | } |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | // WithOutput overrides default os.Stdout output. Setting it to nil will | |
| 58 | // effectively disable auto refresh rate and discard any output, usefull | |
| 59 | // if you want to disable progress bars with little overhead. | |
| 57 | // WithOutput overrides default os.Stdout output. Setting it to nil | |
| 58 | // will effectively disable auto refresh rate and discard any output, | |
| 59 | // useful if you want to disable progress bars with little overhead. | |
| 60 | 60 | func WithOutput(w io.Writer) ContainerOption { |
| 61 | 61 | return func(s *pState) { |
| 62 | 62 | if w == nil { |