CLI: introduce alias "-cp" for "-classpath"

This commit is contained in:
Alexander Udalov
2014-08-06 16:36:28 +02:00
parent b54d2ac0c5
commit a83d9a7dce
4 changed files with 4 additions and 4 deletions
@@ -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 -1
View File
@@ -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
+1 -1
View File
@@ -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$