Added a -version option to the compiler usage info

This commit is contained in:
Andrey Breslav
2012-03-17 23:55:32 +04:00
parent 4231583f66
commit 297301d438
@@ -138,7 +138,12 @@ public class KotlinCompiler {
}
protected void usage(PrintStream target) {
target.println("Usage: KotlinCompiler [-output <outputDir>|-jar <jarFileName>] [-stdlib <path to runtime.jar>] [-src <filename or dirname>|-module <module file>] [-includeRuntime]");
// We should say something like
// Args.usage(target, CompilerArguments.class);
// but currently cli-parser we are using does not support that
// a corresponding patch has been sent to the authors
// For now, we are using this:
target.println("Usage: KotlinCompiler [-output <outputDir>|-jar <jarFileName>] [-stdlib <path to runtime.jar>] [-src <filename or dirname>|-module <module file>] [-includeRuntime] [-version]");
}
/**