diff options
author | Eric Wong <e@80x24.org> | 2021-02-02 11:47:01 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-03 07:32:44 +0000 |
commit | 9ff9755999351a582c857c38e2996b3ab7eb7481 (patch) | |
tree | 0528aed5010c52e709f8afba9a99823b75b8c9cb /lib/PublicInbox/LeiOverview.pm | |
parent | e6dd3e758902c8d1803e0ef4602a5cb24b5b8403 (diff) | |
download | public-inbox-9ff9755999351a582c857c38e2996b3ab7eb7481.tar.gz |
We won't be reporting progress when output is going to stdout since it can clutter up the terminal unless stderr != stdout, which probably isn't worth checking. We'll also use a more agnostic mset_progress which may make it easier to support worker-less invocations.
Diffstat (limited to 'lib/PublicInbox/LeiOverview.pm')
-rw-r--r-- | lib/PublicInbox/LeiOverview.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiOverview.pm b/lib/PublicInbox/LeiOverview.pm index ff15d295..52da225d 100644 --- a/lib/PublicInbox/LeiOverview.pm +++ b/lib/PublicInbox/LeiOverview.pm @@ -90,6 +90,8 @@ sub new { } else { ovv_out_lk_init($self); } + } elsif (!$opt->{quiet}) { + $lei->{-progress} = 1; } if ($json) { $lei->{dedupe} //= PublicInbox::LeiDedupe->new($lei); |