]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei lcat: fix handling of multiple MSGID_OR_URL arguments
authorKyle Meyer <kyle@kyleam.com>
Mon, 17 May 2021 03:37:00 +0000 (23:37 -0400)
committerEric Wong <e@80x24.org>
Mon, 17 May 2021 07:48:59 +0000 (07:48 +0000)
`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

index b82fb003687675752c405a5a5192bb3eedd9b82a..98e79a76f75f6d9af88f5c288ee98673f20ca345 100644 (file)
@@ -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+