mirror of https://github.com/apache/druid.git
Set a non-zero exit code when error incommand parsing (#3137)
This commit is contained in:
parent
dc2bf9efa5
commit
e7ac2e8ba2
|
@ -109,6 +109,7 @@ public class Main
|
|||
System.out.println(e.getMessage());
|
||||
System.out.println("===");
|
||||
cli.parse(new String[]{"help"}).run();
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue