diff options
author | Som Snytt <som.snytt@gmail.com> | 2015-06-17 13:24:53 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2015-06-19 08:09:19 -0700 |
commit | aa98d9a8c19ca27d85b62d1eccfc868440dc9ab2 (patch) | |
tree | 977605b0b35188ec22c540abf8a297c42e493e15 /test/files/neg/t3873.check | |
parent | 1a9ffaa895e37c141561783c8596810c26d69d6a (diff) | |
download | scala-aa98d9a8c19ca27d85b62d1eccfc868440dc9ab2.tar.gz scala-aa98d9a8c19ca27d85b62d1eccfc868440dc9ab2.tar.bz2 scala-aa98d9a8c19ca27d85b62d1eccfc868440dc9ab2.zip |
SI-9206 REPL prompt is more easily configured
The scala shell prompt can be provided as either a system
property or in compiler.properties.
The prompt string is taken as a format string with one
argument that is the version string.
```
$ scala -Dscala.repl.prompt="%nScala %s> "
Welcome to Scala version 2.11.7-20150616-093756-43a56fb5a1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45).
Type in expressions to have them evaluated.
Type :help for more information.
Scala 2.11.7-20150616-093756-43a56fb5a1> 42
res0: Int = 42
Scala 2.11.7-20150616-093756-43a56fb5a1> :quit
```
Diffstat (limited to 'test/files/neg/t3873.check')
0 files changed, 0 insertions, 0 deletions