Introduce '-p' as a short name for '-produce'.

-p program // The default.

    -p library

    -p bitcode
This commit is contained in:
Alexander Gorshenev
2017-05-24 18:40:41 +03:00
committed by alexander-gorshenev
parent 1d3a5e6585
commit 1970af042f
@@ -57,7 +57,7 @@ public class K2NativeCompilerArguments extends CommonCompilerArguments {
@Argument(value = "-output", shortName = "-o", valueDescription = "<path>", description = "Output file path")
public String outputFile;
@Argument(value = "-produce", valueDescription = "{program|library|bitcode}", description = "Produce either .kexe, .klib or a .bc file.")
@Argument(value = "-produce", shortName = "-p", valueDescription = "{program|library|bitcode}", description = "Produce either .kexe, .klib or a .bc file.")
public String produce;
@Argument(value = "-properties", valueDescription = "<path>", description = "Override standard 'konan.properties' location")