Skip to content

Commit 2429111

Browse files
author
Vladimir Kotal
committed
better help messages
1 parent 9a79516 commit 2429111

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ public static String[] parseOptions(String[] argv) throws ParseException {
639639
cfg.setQuickContextScan((Boolean)v);
640640
});
641641

642-
parser.on("-q", "--quiet", "Run as quietly as possible.").Do( v -> {
642+
parser.on("-q", "--quiet", "Run as quietly as possible.",
643+
"Sets logging level to WARNING.").Do( v -> {
643644
LoggerUtil.setBaseConsoleLogLevel(Level.WARNING);
644645
});
645646

@@ -757,7 +758,7 @@ public static String[] parseOptions(String[] argv) throws ParseException {
757758
System.exit(0);
758759
});
759760

760-
parser.on("-v", "--verbose", "Print progress information as we go along.").Do( v -> {
761+
parser.on("-v", "--verbose", "Set logging level to INFO.").Do( v -> {
761762
verbose = true;
762763
LoggerUtil.setBaseConsoleLogLevel(Level.INFO);
763764
});

0 commit comments

Comments
 (0)