File tree Expand file tree Collapse file tree
standalone-server/src/main/java/org/apache/calcite/avatica/standalone
tck/src/main/java/org/apache/calcite/avatica/tck Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,7 +96,8 @@ public void join() throws InterruptedException {
9696
9797 public static void main (String [] args ) {
9898 final StandaloneServer server = new StandaloneServer ();
99- JCommander jc = new JCommander (server , args );
99+ JCommander jc = new JCommander (server );
100+ jc .parse (args );
100101 if (server .help ) {
101102 jc .usage ();
102103 Unsafe .systemExit (ExitCodes .USAGE .ordinal ());
Original file line number Diff line number Diff line change @@ -198,7 +198,8 @@ public static void main(String[] args) {
198198 TestRunner runner = new TestRunner ();
199199
200200 // Parse the args, sets it on runner.
201- new JCommander (runner , args );
201+ JCommander jc = new JCommander (runner );
202+ jc .parse (args );
202203
203204 // Run the tests.
204205 runner .run ();
You can’t perform that action at this time.
0 commit comments