From: Kyle Meyer Date: Tue, 4 May 2021 04:45:57 +0000 (-0400) Subject: lei ls-mail-sync: accept a filter X-Git-Tag: v1.7.0~692 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5ea3df7741fdb88ec9c10689934b4d775d61a3d6;p=public-inbox.git 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. --- 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',