From: Ian Jackson Date: Sat, 22 May 2021 21:43:26 +0000 (+0100) Subject: otter: Show upload progress bar by default X-Git-Tag: otter-0.6.0~54 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a0d68660dfec3b4b67c7b1b022710df27852bcbe;p=otter.git otter: Show upload progress bar by default Signed-off-by: Ian Jackson --- diff --git a/src/bin/otter.rs b/src/bin/otter.rs index e92c37bf..67f57aa1 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -116,7 +116,7 @@ impl MainOpts { #[throws(AE)] fn progressbar(&self) -> Box { - if self.verbose > 0 { + if self.verbose >= 0 { termprogress::new() } else { termprogress::Null::new()