Beautify kotlinc -help output

This commit is contained in:
Alexander Udalov
2014-06-23 16:46:21 +04:00
parent 5e994778d1
commit ca219f9880
11 changed files with 226 additions and 192 deletions
+16 -15
View File
@@ -1,16 +1,17 @@
Usage: org.jetbrains.jet.cli.common.arguments.K2JSCompilerArguments
-output [String] Output file path
-libraryFiles [String[,]] Path to zipped lib sources or kotlin files
-sourceFiles [String[,]] Source files (dir or file)
-sourcemap [flag] Generate SourceMap
-target [String] Generate JS files for specific ECMA version (only ECMA 5 is supported)
-main [String] Whether a main function should be called; either 'call' or 'noCall', default 'call' (main function will be auto detected)
-outputPrefix [String] Path to file which will be added to the beginning of output file
-outputPostfix [String] Path to file which will be added to the end of output file
-tags [flag] Demarcate each compilation message (error, warning, etc) with an open and close tag
-verbose [flag] Enable verbose logging output
-version [flag] Display compiler version
-help (-h) [flag] Print a synopsis of standard options
-suppress [String] Suppress compiler messages by severity (warnings)
-printArgs [flag] Print command line arguments
Usage: kotlinc-js <options> <source files>
where possible options include:
-output <path> Output file path
-libraryFiles <path[,]> Path to zipped library sources or kotlin files separated by commas
-sourceFiles <path[,]> Source files or directories separated by commas
-sourcemap Generate SourceMap
-target <version> Generate JS files for specific ECMA version (only ECMA 5 is supported)
-main {call,noCall} Whether a main function should be called; default 'call' (main function will be auto detected)
-outputPrefix <path> Path to file which will be added to the beginning of output file
-outputPostfix <path> Path to file which will be added to the end of output file
-tags Demarcate each compilation message (error, warning, etc) with an open and close tag
-verbose Enable verbose logging output
-version Display compiler version
-help (-h) Print a synopsis of standard options
-suppress warnings Suppress all compiler warnings
-printArgs Print command line arguments
OK