summaryrefslogtreecommitdiff
path: root/test/files/cli/test3/Main.check.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/cli/test3/Main.check.scala')
-rw-r--r--test/files/cli/test3/Main.check.scala15
1 files changed, 12 insertions, 3 deletions
diff --git a/test/files/cli/test3/Main.check.scala b/test/files/cli/test3/Main.check.scala
index 3804c17636..f78729b9a2 100644
--- a/test/files/cli/test3/Main.check.scala
+++ b/test/files/cli/test3/Main.check.scala
@@ -1,14 +1,23 @@
unknown option: '-cpp'
-scala [ <compiler-option> | -howtorun:how ]... [<torun> <arguments>]
+scala [ <option> ]... [<torun> <arguments>]
+
+All options to scalac are allowed. See scalac -help.
-<compiler-option>'s are as for scalac; see scalac -help.
<torun>, if present, is an object or script file to run.
If no <torun> is present, run an interactive interpreter.
--howtorun allows explicitly specifying how to run <torun>:
+
+Option -howtorun allows explicitly specifying how to run <torun>:
script: it is a script file
object: it is an object name
guess: (the default) try to guess
+Option -savecompiled requests that the compiled script be saved
+for future use.
+
+Option -nocompdaemon requests that the fsc offline compiler not be used.
+
+Option -Dproperty=value sets a Java system property.
+
3: 1: test 1 passed (1)
3: 2: 1: test 1 passed (1)
3: 1: test 2 passed (1)