Update command-line options help for '-Xnormalize-constructor-calls'

Default value depends on language version.
This commit is contained in:
Dmitry Petrov
2018-09-28 15:36:15 +03:00
parent d2740db88f
commit 729da29e49
2 changed files with 6 additions and 2 deletions
@@ -110,7 +110,9 @@ class K2JVMCompilerArguments : CommonCompilerArguments() {
@Argument(
value = "-Xnormalize-constructor-calls",
valueDescription = "{disable|enable}",
description = "Normalize constructor calls (disable: don't normalize; enable: normalize), default is disable"
description = "Normalize constructor calls (disable: don't normalize; enable: normalize),\n" +
"default is 'disable' in language version 1.2 and below,\n" +
"'enable' since language version 1.3"
)
var constructorCallNormalizationMode: String? by NullableStringFreezableVar(null)
+3 -1
View File
@@ -13,7 +13,9 @@ where advanced options include:
-Xbuild-file=<path> Path to the .xml build file to compile
-Xcompile-java Reuse javac analysis and compile Java source files
-Xnormalize-constructor-calls={disable|enable}
Normalize constructor calls (disable: don't normalize; enable: normalize), default is disable
Normalize constructor calls (disable: don't normalize; enable: normalize),
default is 'disable' in language version 1.2 and below,
'enable' since language version 1.3
-Xdump-declarations-to=<path> Path to JSON file to dump Java to Kotlin declaration mappings
-Xdisable-default-scripting-plugin
Do not enable scripting plugin by default