Skip to content

Commit 607bcff

Browse files
committed
relax the max width, fix the long descriptions
1 parent 779ff0e commit 607bcff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
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
@@ -570,13 +570,14 @@ public static String[] parseOptions(String[] argv) throws ParseException {
570570
parser.on("-H", "--history", "Enable history.").execute(v -> cfg.setHistoryEnabled(true));
571571

572572
parser.on("--historyThreads", "=number", Integer.class,
573-
"The number of threads to use for history cache generation on repository level. " +
573+
"The number of threads to use for history cache generation on repository level. ",
574574
"By default the number of threads will be set to the number of available CPUs.",
575575
"Assumes -H/--history.").execute(threadCount ->
576576
cfg.setHistoryParallelism((Integer) threadCount));
577577

578578
parser.on("--historyFileThreads", "=number", Integer.class,
579-
"The number of threads to use for history cache generation when dealing with individual files.",
579+
"The number of threads to use for history cache generation ",
580+
"when dealing with individual files.",
580581
"By default the number of threads will be set to the number of available CPUs.",
581582
"Assumes -H/--history.").execute(threadCount ->
582583
cfg.setHistoryFileParallelism((Integer) threadCount));

opengrok-indexer/src/main/java/org/opengrok/indexer/util/OptionParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void setPattern(String pattern) {
156156
valuePattern = Pattern.compile(pattern);
157157
}
158158

159-
public static final int MAX_DESCRIPTION_LINE_LENGTH = 72;
159+
public static final int MAX_DESCRIPTION_LINE_LENGTH = 80;
160160

161161
void addDescription(String description) {
162162
if (description.length() > MAX_DESCRIPTION_LINE_LENGTH) {

0 commit comments

Comments
 (0)