Github user joshelser commented on a diff in the pull request:
https://github.com/apache/calcite-avatica/pull/3#discussion_r110034171
--- Diff:
standalone-server/src/main/java/org/apache/calcite/avatica/standalone/StandaloneServer.java
---
@@ -92,7 +96,12 @@ public void join() throws InterruptedException {
public static void main(String[] args) {
final StandaloneServer server = new StandaloneServer();
- new JCommander(server, args);
+ JCommander jc = new JCommander(server, args);
+ if (server.help) {
+ jc.usage();
+ System.exit(1);
--- End diff --
Hm, I wonder why I didn't notice this. Thanks for calling it out.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---