summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2006-07-14 10:33:27 +0000
committerLex Spoon <lex@lexspoon.org>2006-07-14 10:33:27 +0000
commit56c803d9c5b784d41e4d14b41d18d361e5830b31 (patch)
treef7b78941b1ac5db1c939de3d2ec80ac048c4f0b8 /src/compiler/scala/tools/nsc/GenericRunnerCommand.scala
parent56ea4526d301a05d6194b8fa6cbea5f9105443b4 (diff)
downloadscala-56c803d9c5b784d41e4d14b41d18d361e5830b31.tar.gz
scala-56c803d9c5b784d41e4d14b41d18d361e5830b31.tar.bz2
scala-56c803d9c5b784d41e4d14b41d18d361e5830b31.zip
updated the help message
Diffstat (limited to 'src/compiler/scala/tools/nsc/GenericRunnerCommand.scala')
-rw-r--r--src/compiler/scala/tools/nsc/GenericRunnerCommand.scala18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala b/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala
index 5e10006376..9cd2e528e3 100644
--- a/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala
+++ b/src/compiler/scala/tools/nsc/GenericRunnerCommand.scala
@@ -46,17 +46,23 @@ class GenericRunnerCommand(allargs: List[String], error: String => Unit) {
parseArguments
val usageMessage = {
- "scala [ <compiler-option> | -howtorun:how | -savecompiled ]... \n " +
- " [<torun> <arguments>]\n" +
+ "scala [ <option> ]... [<torun> <arguments>]\n" +
+ "\n" +
+ "All options to scalac are allowed. See scalac -help.\n" +
"\n" +
- "<compiler-option>'s are as for scalac; see scalac -help.\n" +
"<torun>, if present, is an object or script file to run.\n" +
"If no <torun> is present, run an interactive interpreter.\n" +
- "-howtorun allows explicitly specifying how to run <torun>:\n" +
+ "\n" +
+ "Option -howtorun allows explicitly specifying how to run <torun>:\n" +
" script: it is a script file\n" +
" object: it is an object name\n" +
" guess: (the default) try to guess\n" +
- "If -savecompiled is specified, then try to cache the compilation\n" +
- "of any script file that is run."
+ "\n" +
+ "Option -savecompiled requests that the compiled script be saved\n" +
+ "for future use.\n" +
+ "\n" +
+ "Option -nocompdaemon requests that the fsc offline compiler not be used.\n" +
+ "\n" +
+ "Option -Dproperty=value sets a Java system property.\n"
}
}