You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valjvmargs=PrefixSetting("-J<flag>", "-J", "Pass <flag> directly to the runtime system.")
46
46
valdefines=PrefixSetting("-Dproperty=value", "-D", "Pass -Dproperty=value directly to the runtime system.")
47
-
/*val toolcp =*/PathSetting("-toolcp", "Add to the runner classpath.", "")
48
-
valnobootcp=BooleanSetting("-nobootcp", "Do not use the boot classpath for the scala jars.")
47
+
/*val toolcp =*/PathSetting("-toolcp", "Add to the runner classpath.", "") withAbbreviation "--tool-class-path"
48
+
valnobootcp=BooleanSetting("-nobootcp", "Do not use the boot classpath for the scala jars.") withAbbreviation "--no-boot-class-path"
49
49
50
50
/**
51
51
* Standard settings
52
52
*/
53
53
// argfiles is only for the help message
54
54
/*val argfiles = */BooleanSetting ("@<file>", "A text file containing compiler arguments (options and source files)")
55
-
valclasspath=PathSetting ("-classpath", "Specify where to find user class files.", defaultClasspath) withAbbreviation "-cp"
55
+
valclasspath=PathSetting ("-classpath", "Specify where to find user class files.", defaultClasspath) withAbbreviation "-cp" withAbbreviation "--class-path"
valrelease=StringSetting("-release", "release", "Compile for a specific version of the Java platform. Supported targets: 6, 7, 8, 9", "").withPostSetHook { (value: StringSetting) =>
80
80
if (value.value !=""&&!scala.util.Properties.isJavaAtLeast("9")) {
valdeprecation=BooleanSetting ("-deprecation", "Emit warning and location for usages of deprecated APIs.") withAbbreviation "--deprecation"
33
+
valencoding=StringSetting ("-encoding", "encoding", "Specify character encoding used by source files.", Properties.sourceEncoding) withAbbreviation "--encoding"
34
+
valexplaintypes=BooleanSetting ("-explaintypes", "Explain type errors in more detail.") withAbbreviation "--explain-types"
35
+
valfeature=BooleanSetting ("-feature", "Emit warning and location for usages of features that should be imported explicitly.") withAbbreviation "--feature"
0 commit comments