Skip to content

Commit 09f6ab5

Browse files
Vladimir Kotalahornace
authored andcommitted
augment help
1 parent f750ae7 commit 09f6ab5

File tree

1 file changed

+2
-1
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/index

1 file changed

+2
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/Indexer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ public static String[] parseOptions(String[] argv) throws ParseException {
516516
canonicalRoots.add(root);
517517
});
518518

519-
parser.on("--checkIndex", "Check index.").execute(v -> checkIndex = true);
519+
parser.on("--checkIndex", "Check index, exit with 0 on success,",
520+
"with 1 on failure.").execute(v -> checkIndex = true);
520521

521522
parser.on("-d", "--dataRoot", "=/path/to/data/root",
522523
"The directory where OpenGrok stores the generated data.").

0 commit comments

Comments
 (0)