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 4a0d11b8c4b..434b1f08738 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 @@ -128,7 +128,8 @@ class K2JVMCompilerArguments : CommonCompilerArguments() { var doNotClearBindingContext: Boolean by FreezableVar(false) @Argument( - value = "-Xparallel-backend-threads", + value = "-Xbackend-threads", + valueDescription = "", description = "When using the IR backend, run lowerings by file in N parallel threads.\n" + "0 means use a thread per processor core.\n" + "Default value is 1" diff --git a/compiler/testData/cli/jvm/extraHelp.out b/compiler/testData/cli/jvm/extraHelp.out index be7c4d82522..713edb583af 100644 --- a/compiler/testData/cli/jvm/extraHelp.out +++ b/compiler/testData/cli/jvm/extraHelp.out @@ -96,7 +96,7 @@ where advanced options include: * ignore * strict * warn (report a warning) - -Xparallel-backend-threads When using the IR backend, run lowerings by file in N parallel threads. + -Xbackend-threads= When using the IR backend, run lowerings by file in N parallel threads. 0 means use a thread per processor core. Default value is 1 -Xprofile=