Skip to content

Commit d9b181b

Browse files
committed
Add help and change alternative command from _ to -
1 parent 9915f2d commit d9b181b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ utplsql run "my/Username"/"myP@ssword"@connectstring
147147
148148
-dbout - Enables DBMS_OUTPUT in the TestRunner-Session
149149
(--dbms_output) Default: false
150+
151+
-random - Enables random order of test executions
152+
(--random-test-order) Default: false
153+
154+
-seed - Sets the seed to use for random test execution order. If set, it sets -random to true
155+
(--random-test-order-seed)
150156
```
151157

152158
Parameters -f, -o, -s are correlated. That is parameters -o and -s are controlling outputs for reporter specified by the preceding -f parameter.

src/main/java/org/utplsql/cli/RunCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ public class RunCommand implements ICommand {
128128
private boolean enableDbmsOutput = false;
129129

130130
@Parameter(
131-
names = {"-random", "--random_test_order"},
131+
names = {"-random", "--random-test-order"},
132132
description = "Enables random order of test executions (default: DISABLED)"
133133
)
134134
private boolean randomTestOrder = false;
135135

136136
@Parameter(
137-
names = {"-seed", "--random_test_order_seed"},
137+
names = {"-seed", "--random-test-order-seed"},
138138
description = "Sets the seed to use for random test execution order. If set, it sets -random to true"
139139
)
140140
private Integer randomTestOrderSeed;

0 commit comments

Comments
 (0)