Skip to content

Commit cc001ab

Browse files
committed
Change short option name for --calculate-optimal-total-split from -o to -c
1 parent 1b25be5 commit cc001ab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ java -jar split-tests-java.jar --split-index 0 --split-total 10 --glob 'project/
3939
```plain
4040
Usage: <main class> [options]
4141
Options:
42-
--calculate-optimal-total-split, -o
42+
--calculate-optimal-total-split, -c
4343
Calculates the optimal test split (only on the first split index). Logs
4444
a warning if --split-total does not match.
4545
Default: false

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Arguments {
5454
@SuppressWarnings("NotNullFieldNotInitialized")
5555
@NotNull Path workingDirectory;
5656

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

src/test/java/de/donnerbart/split/TestSplitMainTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void run() throws Exception {
104104
"**/junit-reports/*.xml",
105105
"-w",
106106
tmp.toString(),
107-
"-o",
107+
"-c",
108108
"-d");
109109
final var splits = TestSplitMain.run(exitCode::set, arguments);
110110
assertThat(exitCode).hasNullValue();

0 commit comments

Comments
 (0)