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)