summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/cmd
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2013-06-28 00:24:09 +0200
committerSimon Ochsenreither <simon@ochsenreither.de>2013-07-01 13:30:44 +0200
commita8f9c2e63f65643ef211c3ba9fede8233575a79d (patch)
tree86080fda90e9e28ca9219ebc89cf3b7b9257cf43 /src/compiler/scala/tools/cmd
parentf5a18b5afaf866134a49af167db707a52044ea99 (diff)
downloadscala-a8f9c2e63f65643ef211c3ba9fede8233575a79d.tar.gz
scala-a8f9c2e63f65643ef211c3ba9fede8233575a79d.tar.bz2
scala-a8f9c2e63f65643ef211c3ba9fede8233575a79d.zip
SI-7591 Minor cleanups
Diffstat (limited to 'src/compiler/scala/tools/cmd')
-rw-r--r--src/compiler/scala/tools/cmd/Spec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/cmd/Spec.scala b/src/compiler/scala/tools/cmd/Spec.scala
index b761601167..a1cb31f911 100644
--- a/src/compiler/scala/tools/cmd/Spec.scala
+++ b/src/compiler/scala/tools/cmd/Spec.scala
@@ -15,7 +15,7 @@ trait Spec {
def programInfo: Spec.Info
protected def help(str: => String): Unit
- protected def heading(str: => String): Unit = help("\n " + str)
+ protected def heading(str: => String): Unit = help(s"\n $str")
type OptionMagic <: Opt.Implicit
protected implicit def optionMagicAdditions(s: String): OptionMagic