diff --git a/compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java b/compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java index 554474a73c1..5b8a8da64fe 100644 --- a/compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java +++ b/compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompilerArguments.java @@ -48,6 +48,9 @@ public class K2JVMCompilerArguments extends CompilerArguments { @Argument(value = "classpath", description = "classpath to use when compiling") public String classpath; + @Argument(value = "annotations", description = "paths to external annotations") + public String annotations; + @Argument(value = "includeRuntime", description = "include Kotlin runtime in to resulting jar") public boolean includeRuntime; diff --git a/compiler/testData/cli/help.out b/compiler/testData/cli/help.out index 8968ffb3b53..1ccd9f21337 100644 --- a/compiler/testData/cli/help.out +++ b/compiler/testData/cli/help.out @@ -2,6 +2,7 @@ Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments -jar [String] jar file name -src [String] source file or directory -classpath [String] classpath to use when compiling + -annotations [String] paths to external annotations -includeRuntime [flag] -stdlib [String] Path to the stdlib.jar -jdkHeaders [String] Path to the kotlin-jdk-headers.jar