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 out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) (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 44B8B1F5AE for ; Mon, 17 May 2021 03:37:07 +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=1621222625; 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; bh=MW4DUUYSpkU7p4d+gNlLBGPp3A0JHF8IsimzzRcs6A8=; b=nydjpgdnzuHJwofJm2mvr3vzuVjDhPbQq8v0GTgYEl4nuGTizS3+DFfmnNXKOm27Qv0XyK rERJo+pK0M3AbTujNmFHmnta1j3SRYJ6iwnH2qdzzNzdnB4qpML+2kW3n9i4yXgOR5lHj4 D/k4k1w0fByQULYGRox8d6SoUkqCctNmBhtiHOSjM4TCt8zvlHSct+26G0vEW4ipFTk+Ix RK5tqnPA66g1c8w6tr2p4AMW5zjgfV2eddouDi3UEjt5tdZTF13XMH3F0OSOQ0kXgdsdEj lAguNgJrtmg7pPlGl60ls3wRDoaiTCh9sEMK8MUy/Z6FZHmKN1hip2oF90wMKA== From: Kyle Meyer To: meta@public-inbox.org Subject: [PATCH] lei lcat: fix handling of multiple MSGID_OR_URL arguments Date: Sun, 16 May 2021 23:37:00 -0400 Message-Id: <20210517033700.19364-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 lcat' is documented as being able to display multiple messages, but this works only with --stdin because the positional argument MSGID_OR_URL is missing a period. --- 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 b82fb003..98e79a76 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -168,7 +168,7 @@ our %CMD = ( # sorted in order of importance/use: 'up' => [ 'OUTPUT|--all', 'update saved search', qw(jobs|j=s lock=s@ alert=s@ mua=s verbose|v+ all:s), @c_opt ], -'lcat' => [ '--stdin|MSGID_OR_URL..', 'display local copy of message(s)', +'lcat' => [ '--stdin|MSGID_OR_URL...', 'display local copy of message(s)', 'stdin|', # /|\z/ must be first for lone dash # some of these options are ridiculous for lcat @lxs_opt, qw(output|mfolder|o=s format|f=s dedupe|d=s threads|t+ base-commit: 8cc23ac6f7a3847977ec57c2a3e9e391fdb94da6 -- 2.31.1