From: Eric Wong Date: Sat, 10 Sep 2022 01:35:51 +0000 (+0000) Subject: lei: fix --help for --jobs with `up' and `q' X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3a281094eecdc37c5f3efbe0a39ad04ba31a9dab;p=public-inbox.git 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'. --- 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,