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>")
|
||||
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>")
|
||||
public String classpath;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-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
|
||||
-include-runtime Include Kotlin runtime in to resulting .jar
|
||||
-no-jdk Don't include Java runtime into classpath
|
||||
|
||||
@@ -2,7 +2,7 @@ Invalid argument: -wrong-argument
|
||||
Usage: kotlinc-jvm <options> <source files>
|
||||
where possible options include:
|
||||
-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
|
||||
-include-runtime Include Kotlin runtime in to resulting .jar
|
||||
-no-jdk Don't include Java runtime into classpath
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$TESTDATA_DIR$/wrongKotlinSignature.kt
|
||||
-classpath
|
||||
-cp
|
||||
$TESTDATA_DIR$/wrongKotlinSignatureLib
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
Reference in New Issue
Block a user