about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-11-12 11:08:57 +0000
committerEric Wong <e@80x24.org>2021-11-15 15:25:02 +0000
commit60affc82cf7ea69a58f675a5c5cca8f7b697f73e (patch)
tree2f82716d190dee5c2b797887ed5477b14467787f
parent5fb5b6d1a62b74b34e0ce4b2615bd8bfc81195a4 (diff)
downloadpublic-inbox-60affc82cf7ea69a58f675a5c5cca8f7b697f73e.tar.gz
This enables tab-completion, since I'm using --prune quite a bit
and my fingers are about to fall off :<
-rw-r--r--lib/PublicInbox/LEI.pm3
1 files changed, 3 insertions, 0 deletions
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)'],