From 94be0536ce5eaf1d5a67f217dce112607624389c Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 16 May 2021 23:37:00 -0400 Subject: 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. --- lib/PublicInbox/LEI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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+ -- cgit v1.2.3-24-ge0c7