diff options
author | Som Snytt <som.snytt@gmail.com> | 2015-06-25 10:16:58 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2015-06-25 13:07:00 -0700 |
commit | fac81d705ff0bfdeb3320fd9e46b6d3d34e47ddf (patch) | |
tree | eccc4aa950ce91fce9ba8a73abc57dee08f9f36d /src/compiler/scala/tools/nsc/Properties.scala | |
parent | 91243694982f10d6061edac562b9af32b7bc9f4f (diff) | |
download | scala-fac81d705ff0bfdeb3320fd9e46b6d3d34e47ddf.tar.gz scala-fac81d705ff0bfdeb3320fd9e46b6d3d34e47ddf.tar.bz2 scala-fac81d705ff0bfdeb3320fd9e46b6d3d34e47ddf.zip |
SI-9206 De-perk the welcome message
The welcome message defaults to a sober header followed by
one line of instructions.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Properties.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Properties.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Properties.scala b/src/compiler/scala/tools/nsc/Properties.scala index 3da02ebe37..cb523edfe5 100644 --- a/src/compiler/scala/tools/nsc/Properties.scala +++ b/src/compiler/scala/tools/nsc/Properties.scala @@ -18,8 +18,7 @@ object Properties extends scala.util.PropertiesTrait { def residentPromptString = scalaPropOrElse("resident.prompt", "\nnsc> ") def shellPromptString = scalaPropOrElse("shell.prompt", "%nscala> ") def shellWelcomeString = scalaPropOrElse("shell.welcome", - """Welcome to Scala! - |%1$s (%3$s, Java %2$s). + """Welcome to Scala %1$#s (%3$s, Java %2$s). |Type in expressions for evaluation. Or try :help.""".stripMargin ) |