summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/plugins
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-03-30 00:55:20 +0000
committerPaul Phillips <paulp@improving.org>2011-03-30 00:55:20 +0000
commit5691a3900dd81cfaaa25e618828d854bed277039 (patch)
tree014c34fd8d33ecd3a368841c3c5380e76aa5987b /src/compiler/scala/tools/nsc/plugins
parentf21113d28ae0fa4bae1f405933991c323f5f5553 (diff)
downloadscala-5691a3900dd81cfaaa25e618828d854bed277039.tar.gz
scala-5691a3900dd81cfaaa25e618828d854bed277039.tar.bz2
scala-5691a3900dd81cfaaa25e618828d854bed277039.zip
Wanting to deprecate -make, first I had to writ...
Wanting to deprecate -make, first I had to write a way to deprecate -make. So there's that, now you can do val s = SomeSetting(...) withDeprecationMessage "don't use this" And it will do the usual deprecation things. And, deprecated -make. And couldn't resist fixing a bug in -make, it would crash if you gave it its own default option (i.e. -make:all.) Let's deprecate more! I also did further cleaning up of our help outputs. Do I smell a pulitzer in the making? No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/plugins')
-rw-r--r--src/compiler/scala/tools/nsc/plugins/Plugins.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/plugins/Plugins.scala b/src/compiler/scala/tools/nsc/plugins/Plugins.scala
index 6205633a7c..64e38fee9a 100644
--- a/src/compiler/scala/tools/nsc/plugins/Plugins.scala
+++ b/src/compiler/scala/tools/nsc/plugins/Plugins.scala
@@ -115,6 +115,6 @@ trait Plugins {
/** Summary of the options for all loaded plugins */
def pluginOptionsHelp: String =
(for (plug <- roughPluginsList ; help <- plug.optionsHelp) yield {
- "Options for plugin %s:\n%s\n".format(plug.name, help)
+ "\nOptions for plugin '%s':\n%s\n".format(plug.name, help)
}) mkString
}