diff --git a/backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt b/backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt index d80538b2c65..0d998865b26 100644 --- a/backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt +++ b/backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt @@ -35,7 +35,7 @@ class K2NativeCompilerArguments : CommonCompilerArguments() { @Argument(value="-include-binary", deprecatedName = "-includeBinary", shortName = "-ib", valueDescription = "", description = "Pack external binary within the klib") var includeBinaries: Array? = null - @Argument(value = "-library", shortName = "-l", valueDescription = "", description = "Link with the library") + @Argument(value = "-library", shortName = "-l", valueDescription = "", description = "Link with the library", delimiter = "") var libraries: Array? = null @Argument(value = "-library-version", shortName = "-lv", valueDescription = "", description = "Set library version") @@ -53,7 +53,8 @@ class K2NativeCompilerArguments : CommonCompilerArguments() { @Argument(value="-module-name", deprecatedName = "-module_name", valueDescription = "", description = "Specify a name for the compilation module") var moduleName: String? = null - @Argument(value = "-native-library", deprecatedName = "-nativelibrary", shortName = "-nl", valueDescription = "", description = "Include the native bitcode library") + @Argument(value = "-native-library", deprecatedName = "-nativelibrary", shortName = "-nl", + valueDescription = "", description = "Include the native bitcode library", delimiter = "") var nativeLibraries: Array? = null @Argument(value = "-nodefaultlibs", description = "Don't link the libraries from dist/klib automatically") @@ -120,7 +121,8 @@ class K2NativeCompilerArguments : CommonCompilerArguments() { value = "-Xexport-library", valueDescription = "", description = "Path to the library to be included into produced framework API\n" + - "Must be the path of a library passed with '-library'" + "Must be the path of a library passed with '-library'", + delimiter = "" ) var exportedLibraries: Array? = null @@ -183,7 +185,8 @@ class K2NativeCompilerArguments : CommonCompilerArguments() { @Argument( value = "-Xlibrary-to-cover", valueDescription = "", - description = "Path to library that should be covered." + description = "Path to library that should be covered.", + delimiter = "" ) var coveredLibraries: Array? = null