From eb9965d2c86843d81a4ec74ec5339921ed758740 Mon Sep 17 00:00:00 2001 From: LepilkinaElena Date: Fri, 22 Feb 2019 15:26:07 +0300 Subject: [PATCH] Add short form for cinterop flag library (#2702) --- .../org/jetbrains/kotlin/native/interop/gen/jvm/CommandLine.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/CommandLine.kt b/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/CommandLine.kt index 6840434f2cf..8b3504310f2 100644 --- a/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/CommandLine.kt +++ b/Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/jvm/CommandLine.kt @@ -39,8 +39,7 @@ fun getCommonInteropArguments() = listOf( defaultValue = System.getProperty("user.dir")), OptionDescriptor(ArgType.String(), "natives", description = "where to put the built native files", defaultValue = System.getProperty("user.dir")), - OptionDescriptor(ArgType.String(), "library", - description = "library to use for building", isMultiple = true), + OptionDescriptor(ArgType.String(), "library", "l", "library to use for building", isMultiple = true), OptionDescriptor(ArgType.String(), "repo", "r", "repository to resolve dependencies", isMultiple = true), OptionDescriptor(ArgType.Boolean(), NODEFAULTLIBS, description = "don't link the libraries from dist/klib automatically",