Report the command line that was passed if its format is wrong
This commit is contained in:
@@ -152,6 +152,10 @@ public abstract class CLICompiler<A extends CompilerArguments, C extends Compile
|
||||
ExitCode rc = compiler.exec(System.out, args);
|
||||
if (rc != OK) {
|
||||
System.err.println("exec() finished with " + rc + " return code");
|
||||
System.err.println("Command line arguments: ");
|
||||
for (String arg : args) {
|
||||
System.err.println(arg);
|
||||
}
|
||||
System.exit(rc.getCode());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user