summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Sabin <miles@milessabin.com>2009-11-15 20:57:46 +0000
committerMiles Sabin <miles@milessabin.com>2009-11-15 20:57:46 +0000
commit540aa394f36ed423443058dcb108db3800e0bf1a (patch)
treeaf62bc700d5f4e139c4a1fe3941c884103afcb1c
parent50f42ab8c16b5a8f361fb0435416325d3750e36e (diff)
downloadscala-540aa394f36ed423443058dcb108db3800e0bf1a.tar.gz
scala-540aa394f36ed423443058dcb108db3800e0bf1a.tar.bz2
scala-540aa394f36ed423443058dcb108db3800e0bf1a.zip
Corrected help syntax for -Ybuilder-debug.
-rw-r--r--src/compiler/scala/tools/nsc/Settings.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala
index 5db78420ec..314b575f1e 100644
--- a/src/compiler/scala/tools/nsc/Settings.scala
+++ b/src/compiler/scala/tools/nsc/Settings.scala
@@ -832,7 +832,8 @@ trait ScalacSettings {
val specialize = BooleanSetting ("-Yspecialize", "Specialize generic code on types.")
val Yrangepos = BooleanSetting ("-Yrangepos", "Use range positions for syntax trees.")
val Yidedebug = BooleanSetting ("-Yide-debug", "Generate, validate and output trees using the interactive compiler.")
- val Ybuilderdebug = ChoiceSetting ("-Ybuilder-debug", "Compile using the specified build manager", List("none", "refined", "simple"), "none")
+ val Ybuilderdebug = ChoiceSetting ("-Ybuilder-debug", "Compile using the specified build manager", List("none", "refined", "simple"), "none") .
+ withHelpSyntax("-Ybuilder-debug:<method>")
val Ytyperdebug = BooleanSetting ("-Ytyper-debug", "Trace all type assignements")
val Ypmatdebug = BooleanSetting ("-Ypmat-debug", "Trace all pattern matcher activity.")
val Ytailrec = BooleanSetting ("-Ytailrecommend", "Alert methods which would be tail-recursive if private or final.")