Skip to content

Commit 836f7c6

Browse files
committed
Improve description of --calculate-optimal-total-split option
1 parent d6097d2 commit 836f7c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ java -jar split-tests-java.jar --split-index 0 --split-total 10 --glob 'project/
3939
Usage: <main class> [options]
4040
Options:
4141
--calculate-optimal-total-split, -o
42-
Calculates the optimal test split. Logs a warning if --split-total does
43-
not match.
42+
Calculates the optimal test split (only on the first split index). Logs
43+
a warning if --split-total does not match.
4444
Default: false
4545
--debug, -d
4646
Enables debug logging.

src/main/java/de/donnerbart/split/Arguments.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Arguments {
5252
@Nullable Path workingDirectory;
5353

5454
@Parameter(names = {"--calculate-optimal-total-split", "-o"},
55-
description = "Calculates the optimal test split. Logs a warning if --split-total does not match.")
55+
description = "Calculates the optimal test split (only on the first split index). Logs a warning if --split-total does not match.")
5656
boolean calculateOptimalTotalSplit = false;
5757

5858
@Parameter(names = {"--max-optimal-total-split-calculations", "-m"},

0 commit comments

Comments
 (0)