Added "optimize" flag to settings everywhere
This commit is contained in:
committed by
Alexander Udalov
parent
433c9cd4a5
commit
0e683b0b99
+2
-2
@@ -33,7 +33,7 @@ public class CompilerArgumentsUtil {
|
||||
"false".equalsIgnoreCase(option);
|
||||
}
|
||||
|
||||
public static String getWrongInlineOptionErrorMessage(@Nullable String inline) {
|
||||
return "Wrong value for inline option: '" + inline + "'. Should be 'on'/'off' or 'true'/'false'";
|
||||
public static String getWrongCheckOptionErrorMessage(@Nullable String option, @Nullable String value) {
|
||||
return "Wrong value for " + option + " option: '" + value + "'. Should be 'on'/'off' or 'true'/'false'";
|
||||
}
|
||||
}
|
||||
|
||||
+4
@@ -79,6 +79,10 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
|
||||
@ValueDescription("{on,off}")
|
||||
public String inline;
|
||||
|
||||
@Argument(value = "optimize", description = "Optimization mode (default is on)")
|
||||
@ValueDescription("{on,off}")
|
||||
public String optimize;
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public String executableScriptFileName() {
|
||||
|
||||
Reference in New Issue
Block a user