Skip to content

Commit

Permalink
Update usage of JCommander after upgrading to 1.72
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Risden <[email protected]>
  • Loading branch information
risdenk committed Sep 23, 2018
1 parent bc8530e commit 2a80eec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ public void join() throws InterruptedException {

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());
Expand Down

0 comments on commit 2a80eec

Please sign in to comment.