Skip to content

Commit eaf074d

Browse files
committed
improve usage
1 parent 1b39705 commit eaf074d

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
@@ -590,7 +590,7 @@ public static String[] parseOptions(String[] argv) throws ParseException {
590590
"Selectable modes (exclusive):",
591591
" version - checks document version against indexer version",
592592
" documents - checks duplicate documents in the index",
593-
" definitions - cross check document definitions against file content",
593+
" definitions - check document definitions against file content (experimental)",
594594
"With no mode specified, performs the version check."
595595
).execute(v -> {
596596
if (!gotReadonlyConfiguration) {
@@ -608,6 +608,7 @@ public static String[] parseOptions(String[] argv) throws ParseException {
608608
indexCheckMode = IndexCheck.IndexCheckMode.DEFINITIONS;
609609
break;
610610
case "version":
611+
// already set above
611612
break;
612613
default:
613614
die("mode '" + mode + "' is not valid.");

0 commit comments

Comments
 (0)