From c76a20d75200630b0b5072e4ce39651230f8cabe Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 28 Nov 2023 14:56:23 +0000 Subject: cindex: require `-g GIT_DIR' or `-r PROJECT_ROOT' Accepting @ARGV without switches ends up being ambiguous with optional parameters for --join and --show. Requiring users to specify `--join=' or `--show=' is a bit awkward (as it with -clone --objstore= and the like, but that is historical baggage we need to carry at this point...) --- Documentation/public-inbox-cindex.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/public-inbox-cindex.pod b/Documentation/public-inbox-cindex.pod index 3ff394be..0c9c4bdb 100644 --- a/Documentation/public-inbox-cindex.pod +++ b/Documentation/public-inbox-cindex.pod @@ -4,7 +4,7 @@ public-inbox-cindex - create and update search for code repositories =head1 SYNOPSIS -public-inbox-cindex [OPTIONS] GIT_DIR... +public-inbox-cindex [OPTIONS] -g GIT_DIR [-g GIT_DIR] public-inbox-cindex [OPTIONS] --update -- cgit v1.2.3-24-ge0c7