* [PATCH] lei: fix --help for --jobs with `up' and `q'
@ 2022-09-10 1:35 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2022-09-10 1:35 UTC (permalink / raw)
To: meta
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,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-10 1:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-10 1:35 [PATCH] lei: fix --help for --jobs with `up' and `q' Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).