CLI: introduce alias "-cp" for "-classpath"
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
|
|||||||
@ValueDescription("<directory|jar>")
|
@ValueDescription("<directory|jar>")
|
||||||
public String destination;
|
public String destination;
|
||||||
|
|
||||||
@Argument(value = "classpath", description = "Paths where to find user class files")
|
@Argument(value = "classpath", alias = "cp", description = "Paths where to find user class files")
|
||||||
@ValueDescription("<path>")
|
@ValueDescription("<path>")
|
||||||
public String classpath;
|
public String classpath;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Usage: kotlinc-jvm <options> <source files>
|
Usage: kotlinc-jvm <options> <source files>
|
||||||
where possible options include:
|
where possible options include:
|
||||||
-d <directory|jar> Destination for generated class files
|
-d <directory|jar> Destination for generated class files
|
||||||
-classpath <path> Paths where to find user class files
|
-classpath (-cp) <path> Paths where to find user class files
|
||||||
-annotations <path> Paths to external annotations
|
-annotations <path> Paths to external annotations
|
||||||
-include-runtime Include Kotlin runtime in to resulting .jar
|
-include-runtime Include Kotlin runtime in to resulting .jar
|
||||||
-no-jdk Don't include Java runtime into classpath
|
-no-jdk Don't include Java runtime into classpath
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Invalid argument: -wrong-argument
|
|||||||
Usage: kotlinc-jvm <options> <source files>
|
Usage: kotlinc-jvm <options> <source files>
|
||||||
where possible options include:
|
where possible options include:
|
||||||
-d <directory|jar> Destination for generated class files
|
-d <directory|jar> Destination for generated class files
|
||||||
-classpath <path> Paths where to find user class files
|
-classpath (-cp) <path> Paths where to find user class files
|
||||||
-annotations <path> Paths to external annotations
|
-annotations <path> Paths to external annotations
|
||||||
-include-runtime Include Kotlin runtime in to resulting .jar
|
-include-runtime Include Kotlin runtime in to resulting .jar
|
||||||
-no-jdk Don't include Java runtime into classpath
|
-no-jdk Don't include Java runtime into classpath
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
$TESTDATA_DIR$/wrongKotlinSignature.kt
|
$TESTDATA_DIR$/wrongKotlinSignature.kt
|
||||||
-classpath
|
-cp
|
||||||
$TESTDATA_DIR$/wrongKotlinSignatureLib
|
$TESTDATA_DIR$/wrongKotlinSignatureLib
|
||||||
-d
|
-d
|
||||||
$TEMP_DIR$
|
$TEMP_DIR$
|
||||||
|
|||||||
Reference in New Issue
Block a user