diff --git a/compiler/cli/src/org/jetbrains/jet/cli/KotlinCompiler.java b/compiler/cli/src/org/jetbrains/jet/cli/KotlinCompiler.java index 13856d47d4a..add010a525d 100644 --- a/compiler/cli/src/org/jetbrains/jet/cli/KotlinCompiler.java +++ b/compiler/cli/src/org/jetbrains/jet/cli/KotlinCompiler.java @@ -138,7 +138,12 @@ public class KotlinCompiler { } protected void usage(PrintStream target) { - target.println("Usage: KotlinCompiler [-output |-jar ] [-stdlib ] [-src |-module ] [-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 |-jar ] [-stdlib ] [-src |-module ] [-includeRuntime] [-version]"); } /**