about summary refs log tree commit homepage
path: root/lib/PublicInbox/LEI.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-09-10 01:35:51 +0000
committerEric Wong <e@80x24.org>2022-09-10 01:35:13 +0000
commit3a281094eecdc37c5f3efbe0a39ad04ba31a9dab (patch)
treee558ecc7a300b32058b989167adad1e978e2af13 /lib/PublicInbox/LEI.pm
parentc03e3836f127f549b8568b05ada7ab81684539fc (diff)
downloadpublic-inbox-3a281094eecdc37c5f3efbe0a39ad04ba31a9dab.tar.gz
The help needs to match on the short option, too, and that
`lei q' option is (like most options) shared with `lei up'.
Diffstat (limited to 'lib/PublicInbox/LEI.pm')
-rw-r--r--lib/PublicInbox/LEI.pm6
1 files 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,