From 3a281094eecdc37c5f3efbe0a39ad04ba31a9dab Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 10 Sep 2022 01:35:51 +0000 Subject: [PATCH] lei: fix --help for --jobs with `up' and `q' The help needs to match on the short option, too, and that `lei q' option is (like most options) shared with `lei up'. --- lib/PublicInbox/LEI.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index 8a3a3ab6..f3e80113 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -399,8 +399,10 @@ my %OPTDESC = ( 'include specified external(s) in search' ], 'only|O=s@ q' => [ 'LOCATION', 'only use specified external(s) for search' ], -'jobs=s q' => [ '[SEARCH_JOBS][,WRITER_JOBS]', - 'control number of search and writer jobs' ], +'jobs|j=s' => [ 'JOBSPEC', + 'control number of query and writer jobs' . + "integers delimited by `,', either of which may be omitted" + ], 'jobs|j=i add-external' => 'set parallelism when indexing after --mirror', 'in-format|F=s' => $stdin_formats, -- 2.48.1