From f9e195351aeaf55df98fb365fb2bf564bdcf8c6f Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Wed, 10 Jan 2018 17:48:52 +0100 Subject: [PATCH] Minor, rephrase usage help for -no-stdlib/-no-reflect compiler arguments --- .../kotlin/cli/common/arguments/K2JVMCompilerArguments.kt | 4 ++-- compiler/testData/cli/jvm/help.out | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 1bf2f2f99d0..4d7c5ea87b3 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 @@ -49,11 +49,11 @@ class K2JVMCompilerArguments : CommonCompilerArguments() { var noJdk: Boolean by FreezableVar(false) @GradleOption(DefaultValues.BooleanTrueDefault::class) - @Argument(value = "-no-stdlib", description = "Don't include Kotlin runtime into classpath") + @Argument(value = "-no-stdlib", description = "Don't include kotlin-stdlib.jar or kotlin-reflect.jar into classpath") var noStdlib: Boolean by FreezableVar(false) @GradleOption(DefaultValues.BooleanTrueDefault::class) - @Argument(value = "-no-reflect", description = "Don't include Kotlin reflection implementation into classpath") + @Argument(value = "-no-reflect", description = "Don't include kotlin-reflect.jar into classpath") var noReflect: Boolean by FreezableVar(false) @Argument(value = "-script", description = "Evaluate the script file") diff --git a/compiler/testData/cli/jvm/help.out b/compiler/testData/cli/jvm/help.out index ac5064cda60..ffb44ef2b2d 100644 --- a/compiler/testData/cli/jvm/help.out +++ b/compiler/testData/cli/jvm/help.out @@ -8,8 +8,8 @@ where possible options include: -jvm-target Target version of the generated JVM bytecode (1.6 or 1.8), default is 1.6 -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 + -no-reflect Don't include kotlin-reflect.jar into classpath + -no-stdlib Don't include kotlin-stdlib.jar or kotlin-reflect.jar into classpath -script Evaluate the script file -script-templates Script definition template classes