compiler must print some info on wrong arguments
This commit is contained in:
committed by
Evgeny Gerashchenko
parent
01ef9133d4
commit
7eba14bcf1
@@ -56,6 +56,7 @@ public abstract class CLICompiler<A extends CompilerArguments> {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (IllegalArgumentException e) {
|
catch (IllegalArgumentException e) {
|
||||||
|
errStream.println(e.getMessage());
|
||||||
usage(errStream);
|
usage(errStream);
|
||||||
}
|
}
|
||||||
catch (Throwable t) {
|
catch (Throwable t) {
|
||||||
|
|||||||
Reference in New Issue
Block a user