From: Eric Wong Date: Fri, 12 Nov 2021 11:08:57 +0000 (+0000) Subject: lei forget-search: add help for --prune X-Git-Tag: v1.8.0~43 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=60affc82cf7ea69a58f675a5c5cca8f7b697f73e lei forget-search: add help for --prune This enables tab-completion, since I'm using --prune quite a bit and my fingers are about to fall off :< --- diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index 887025de..192f267c 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -411,6 +411,9 @@ my %OPTDESC = ( 'url ls-mail-source' => 'show full URL of newsgroup or IMAP folder', 'format|f=s ls-external' => $ls_format, +'prune:s forget-search' => + ['TYPE|local|remote', 'prune all, remote or local folders' ], + 'limit|n=i@' => ['NUM', 'limit on number of matches (default: 10000)' ], 'offset=i' => ['OFF', 'search result offset (default: 0)'],