summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-06-19 12:39:47 +0000
committerLex Spoon <lex@lexspoon.org>2007-06-19 12:39:47 +0000
commit1edd1f1db181088b1cbbe7358190993b4ef82161 (patch)
tree181a33255d7699dd663c69631c4a3e335416be53 /src/compiler
parent6476819ce318c619bd5e1772154bb3fcb337102e (diff)
downloadscala-1edd1f1db181088b1cbbe7358190993b4ef82161.tar.gz
scala-1edd1f1db181088b1cbbe7358190993b4ef82161.tar.bz2
scala-1edd1f1db181088b1cbbe7358190993b4ef82161.zip
added the version number to the welcome message
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/InterpreterLoop.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/InterpreterLoop.scala b/src/compiler/scala/tools/nsc/InterpreterLoop.scala
index 3f92a65aa5..004ea3f74a 100644
--- a/src/compiler/scala/tools/nsc/InterpreterLoop.scala
+++ b/src/compiler/scala/tools/nsc/InterpreterLoop.scala
@@ -98,7 +98,7 @@ class InterpreterLoop(in0: BufferedReader, out: PrintWriter) {
/** Print a welcome message */
def printWelcome {
- out.println("This is a Scala shell.")
+ out.println("Welcome to Scala version " + Properties.versionString + ".")
out.println("Type in expressions to have them evaluated.")
out.println("Type :help for more information.")
}