From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.0.0.0/16 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5C9371F9F3 for ; Tue, 4 May 2021 04:46:14 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1620103573; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hiqg7w+dB4BePFDdiPlIfEWFLnlyilS+NpiqjgVXngw=; b=AgIPLOTJLOKkjX/WfJPj3CjEj5s2Xd5vTr7lXV9vz0vQBGfZ6d/coYfrkcpv1B1Vq69kni wxOPxpBnOZUPzAHoG7j2SiPzasnfYL5Q9nuaviyDz332DnKOWe8cLhE1zqY5kLpcvvf5tT h0Kr9udYPGYI+gw1moDRfCMQ2HK3wvAgBTUG6tDwGf/Q/jWHeJg4ush5J3VebMS60KGq1K Sb8gs4NUpbMkKCArxUD5Yxh3ELqNNsthp4t0d2WYxuzQxIwWZhmo+RofKk0BVgbwDOCKb1 res4l2A5c+47L9t5wRe61fFwYs75gykIa74+Dae25gD3HiGaCsXNuMaYmquCIg== From: Kyle Meyer To: meta@public-inbox.org Subject: [PATCH 3/5] lei ls-mail-sync: accept a filter Date: Tue, 4 May 2021 00:45:57 -0400 Message-Id: <20210504044559.12941-4-kyle@kyleam.com> In-Reply-To: <20210504044559.12941-1-kyle@kyleam.com> References: <20210504044559.12941-1-kyle@kyleam.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyle@kyleam.com List-Id: 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', -- 2.31.1