From 5ea3df7741fdb88ec9c10689934b4d775d61a3d6 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 4 May 2021 00:45:57 -0400 Subject: lei ls-mail-sync: accept a filter lei_ls_mail_sync() is written to accept a filter, and ls-mail-sync has related command-line options (--globoff, --invert-match), but a positional argument isn't actually accepted. Add it. --- lib/PublicInbox/LEI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index e9c1675a..7be68121 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -170,7 +170,7 @@ our %CMD = ( # sorted in order of importance/use: 'ls-external' => [ '[FILTER]', 'list publicinbox|extindex locations', qw(format|f=s z|0 globoff|g invert-match|v local remote), @c_opt ], 'ls-label' => [ '', 'list labels', qw(z|0 stats:s), @c_opt ], -'ls-mail-sync' => [ '', 'list mail sync folders', +'ls-mail-sync' => [ '[FILTER]', 'list mail sync folders', qw(z|0 globoff|g invert-match|v local remote), @c_opt ], 'forget-external' => [ 'LOCATION...|--prune', 'exclude further results from a publicinbox|extindex', -- cgit v1.2.3-24-ge0c7