]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
doc: -cindex: correct and unify -g GIT_DIR usage string and man page
authorŠtěpán Němec <stepnem@smrk.net>
Wed, 29 Nov 2023 12:02:51 +0000 (13:02 +0100)
committerEric Wong <e@80x24.org>
Wed, 29 Nov 2023 21:51:02 +0000 (21:51 +0000)
Fixes: c76a20d75200 ("cindex: require `-g GIT_DIR' or `-r PROJECT_ROOT'")
Documentation/public-inbox-cindex.pod
script/public-inbox-cindex

index 0c9c4bdbff03231faa7ffd55611dcedc747eb208..02c2d80f7ae583c4350d1adcc1c949aa06a7d219 100644 (file)
@@ -4,7 +4,7 @@ public-inbox-cindex - create and update search for code repositories
 
 =head1 SYNOPSIS
 
-public-inbox-cindex [OPTIONS] -g GIT_DIR [-g GIT_DIR]
+public-inbox-cindex [OPTIONS] -g GIT_DIR [-g GIT_DIR]...
 
 public-inbox-cindex [OPTIONS] --update
 
index a015d7a4f06769f7f65a5845f03c97510fc0506c..d61d0244833fbe646e9a3d1cde014ad68f69d9c2 100755 (executable)
@@ -4,7 +4,7 @@
 use v5.12;
 use Getopt::Long qw(:config gnu_getopt no_ignore_case auto_abbrev);
 my $help = <<EOF; # the following should fit w/o scrolling in 80x24 term:
-usage: public-inbox-cindex [options] -g GIT_DIR...
+usage: public-inbox-cindex [options] -g GIT_DIR [-g GIT_DIR]...
 usage: public-inbox-cindex [options] --project-list=FILE -r PROJECT_ROOT
 
   Create and update search indices for code repos