From: Kyle Meyer Date: Mon, 17 May 2021 03:37:00 +0000 (-0400) Subject: lei lcat: fix handling of multiple MSGID_OR_URL arguments X-Git-Tag: v1.7.0~661 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=94be0536ce5eaf1d5a67f217dce112607624389c;p=public-inbox.git lei lcat: fix handling of multiple MSGID_OR_URL arguments `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. --- 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+