diff options
author | Paul Phillips <paulp@improving.org> | 2011-03-30 00:55:20 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-03-30 00:55:20 +0000 |
commit | 5691a3900dd81cfaaa25e618828d854bed277039 (patch) | |
tree | 014c34fd8d33ecd3a368841c3c5380e76aa5987b /src/compiler/scala/tools/nsc/GenericRunnerCommand.scala | |
parent | f21113d28ae0fa4bae1f405933991c323f5f5553 (diff) | |
download | scala-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/GenericRunnerCommand.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/GenericRunnerCommand.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala b/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala index 7923412304..27596dc899 100644 --- a/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala +++ b/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala @@ -53,10 +53,10 @@ extends CompilerCommand(args, settings) { Usage: @cmd@ <options> [<script|class|object|jar> <arguments>] or @cmd@ -help -All options to @compileCmd@ are also allowed. See @compileCmd@ -help. - """) +All options to @compileCmd@ (see @compileCmd@ -help) are also allowed. +""") - override def usageMsg = shortUsageMsg + "\n" + interpolate(""" + override def usageMsg = shortUsageMsg + interpolate(""" The first given argument other than options to @cmd@ designates what to run. Runnable targets are: |