Report the command line that was passed if its format is wrong

This commit is contained in:
Andrey Breslav
2012-07-14 11:56:29 +04:00
parent e5be4c8e63
commit 95b93322b3
@@ -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());
}
}