@@ -43,7 +43,7 @@ trait ScalaSettings extends AbsScalaSettings
43
43
protected def futureSettings = List [BooleanSetting ]()
44
44
45
45
/** If any of these settings is enabled, the compiler should print a message and exit. */
46
- def infoSettings = List [Setting ](version, help, Xhelp , Yhelp , showPlugins, showPhases, genPhaseGraph, printArgs )
46
+ def infoSettings = List [Setting ](version, help, Xhelp , Yhelp , showPlugins, showPhases, genPhaseGraph)
47
47
48
48
/** Is an info setting set? Any -option:help? */
49
49
def isInfo = infoSettings.exists(_.isSetByUser) || allSettings.exists(_.isHelping)
@@ -143,7 +143,7 @@ trait ScalaSettings extends AbsScalaSettings
143
143
val Xprint = PhasesSetting (" -Xprint" , " Print out program after" )
144
144
val Xprintpos = BooleanSetting (" -Xprint-pos" , " Print tree positions, as offsets." )
145
145
val printtypes = BooleanSetting (" -Xprint-types" , " Print tree types (debugging option)." )
146
- val printArgs = BooleanSetting (" -Xprint-args" , " Print all compiler arguments and exit. " )
146
+ val printArgs = StringSetting (" -Xprint-args" , " <file> " , " Print all compiler arguments to <file>. Use - to echo to the reporter. " , " - " )
147
147
val prompt = BooleanSetting (" -Xprompt" , " Display a prompt after each error (debugging option)." )
148
148
val resident = BooleanSetting (" -Xresident" , " Compiler stays resident: read source filenames from standard input." )
149
149
val script = StringSetting (" -Xscript" , " object" , " Treat the source file as a script and wrap it in a main method." , " " )
0 commit comments