CLI: change argument naming convention

As in all other Unix/POSIX tools and JVM language compilers, multiple words
comprising the argument name should be lowercase, separated by dashes
This commit is contained in:
Alexander Udalov
2014-08-01 21:19:41 -05:00
parent 6da95e2cea
commit cf431ffab0
18 changed files with 52 additions and 60 deletions
@@ -37,7 +37,7 @@ public class Kotlin2JsCompilerTask : Task() {
public var library: Path? = null
public var outputPrefix: File? = null
public var outputPostfix: File? = null
public var sourcemap: Boolean = false
public var sourceMap: Boolean = false
/**
* {@link K2JsArgumentConstants.CALL} (default) if need generate a main function call (main function will be auto detected)
@@ -84,7 +84,7 @@ public class Kotlin2JsCompilerTask : Task() {
arguments.outputPostfix = outputPostfix?.canonicalPath
arguments.main = main
arguments.sourcemap = sourcemap
arguments.sourceMap = sourceMap
log("Compiling ${arguments.freeArgs} => [${arguments.outputFile}]");