Skip to content

Commit 2a80eec

Browse files
committed
Update usage of JCommander after upgrading to 1.72
Signed-off-by: Kevin Risden <krisden@apache.org>
1 parent bc8530e commit 2a80eec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

standalone-server/src/main/java/org/apache/calcite/avatica/standalone/StandaloneServer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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());

0 commit comments

Comments
 (0)