Repository: calcite-avatica
Updated Branches:
  refs/heads/master 92520b57f -> 2a80eec82 (forced update)


Update usage of JCommander after upgrading to 1.72

Signed-off-by: Kevin Risden <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica/commit/2a80eec8
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica/tree/2a80eec8
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica/diff/2a80eec8

Branch: refs/heads/master
Commit: 2a80eec82499ac9eccedc03dc2eab80f6f813c8a
Parents: bc8530e
Author: Kevin Risden <[email protected]>
Authored: Sat Sep 22 22:29:18 2018 -0400
Committer: Kevin Risden <[email protected]>
Committed: Sat Sep 22 22:29:41 2018 -0400

----------------------------------------------------------------------
 .../org/apache/calcite/avatica/standalone/StandaloneServer.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/2a80eec8/standalone-server/src/main/java/org/apache/calcite/avatica/standalone/StandaloneServer.java
----------------------------------------------------------------------
diff --git 
a/standalone-server/src/main/java/org/apache/calcite/avatica/standalone/StandaloneServer.java
 
b/standalone-server/src/main/java/org/apache/calcite/avatica/standalone/StandaloneServer.java
index 0481f19..1b94c55 100644
--- 
a/standalone-server/src/main/java/org/apache/calcite/avatica/standalone/StandaloneServer.java
+++ 
b/standalone-server/src/main/java/org/apache/calcite/avatica/standalone/StandaloneServer.java
@@ -96,7 +96,8 @@ public class StandaloneServer {
 
   public static void main(String[] args) {
     final StandaloneServer server = new StandaloneServer();
-    JCommander jc = new JCommander(server, args);
+    JCommander jc = new JCommander(server);
+    jc.parse(args);
     if (server.help) {
       jc.usage();
       Unsafe.systemExit(ExitCodes.USAGE.ordinal());

Reply via email to