1
0

[HUDI-522] Use the same version jcommander uniformly (#1214)

This commit is contained in:
lamber-ken
2020-01-13 02:48:52 +08:00
committed by vinoth chandar
parent 017ee8e661
commit d9675c4ec0
18 changed files with 15 additions and 18 deletions

View File

@@ -186,7 +186,7 @@ public class HiveSyncTool {
public static void main(String[] args) throws Exception {
// parse the params
final HiveSyncConfig cfg = new HiveSyncConfig();
JCommander cmd = new JCommander(cfg, args);
JCommander cmd = new JCommander(cfg, null, args);
if (cfg.help || args.length == 0) {
cmd.usage();
System.exit(1);