Files
kotlin-fork/compiler/integration-tests/data/help/help.expected
T
Stepan Koltsov 6063c01a1c command line script launcher
% ./bin/kotlin -script hello.ktscript
hello world

% cat hello.ktscript
fun hello(what: String) = println("hello $what")
hello("world")

Note it currently takes 8 seconds to evaluate hello world script.
2012-05-23 02:52:30 +04:00

18 lines
666 B
Plaintext

OUT Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
OUT -jar [String] jar file name
OUT -src [String] source file or directory
OUT -classpath [String] classpath to use when compiling
OUT -includeRuntime [flag]
OUT -stdlib [String] Path to the stdlib.jar
OUT -altHeaders [String] Path to the alternative library headers paths
OUT -mode [String] Special compiler modes: stubs or altHeaders
OUT -output [String] output directory
OUT -module [String] module to compile
OUT -script [flag]
OUT -tags [flag]
OUT -verbose [flag]
OUT -version [flag]
OUT -help (-h) [flag]
ERR exec() finished with INTERNAL_ERROR return code
Return code: 2