diff --git a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt index 450d27fa2c2..36bedc3d3a3 100644 --- a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt +++ b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt @@ -69,7 +69,7 @@ class K2JVMCompilerArguments : CommonCompilerArguments() { ) var scriptTemplates: Array? by FreezableVar(null) - @Argument(value = "-module-name", description = "Module name") + @Argument(value = "-module-name", valueDescription = "", description = "Name of the generated .kotlin_module file") var moduleName: String? by FreezableVar(null) @GradleOption(DefaultValues.JvmTargetVersions::class) diff --git a/compiler/testData/cli/jvm/help.out b/compiler/testData/cli/jvm/help.out index 95d4b5606bb..ac5064cda60 100644 --- a/compiler/testData/cli/jvm/help.out +++ b/compiler/testData/cli/jvm/help.out @@ -6,7 +6,7 @@ where possible options include: -java-parameters Generate metadata for Java 1.8 reflection on method parameters -jdk-home Path to JDK home directory to include into classpath, if differs from default JAVA_HOME -jvm-target Target version of the generated JVM bytecode (1.6 or 1.8), default is 1.6 - -module-name Module name + -module-name Name of the generated .kotlin_module file -no-jdk Don't include Java runtime into classpath -no-reflect Don't include Kotlin reflection implementation into classpath -no-stdlib Don't include Kotlin runtime into classpath