summaryrefslogtreecommitdiff
path: root/src/manual/scala/man1/scala.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-04-18 14:10:07 +0000
committermichelou <michelou@epfl.ch>2007-04-18 14:10:07 +0000
commita7da970fa8df1a2ef304c5228ba1c6294ca5ebe6 (patch)
tree0b5b73c2fb2ae39875013a998293b4b865a58e48 /src/manual/scala/man1/scala.scala
parent46a32e94ffb7c95700b61cb09bc105321daf6c05 (diff)
downloadscala-a7da970fa8df1a2ef304c5228ba1c6294ca5ebe6.tar.gz
scala-a7da970fa8df1a2ef304c5228ba1c6294ca5ebe6.tar.bz2
scala-a7da970fa8df1a2ef304c5228ba1c6294ca5ebe6.zip
added variable JAVA_OPTS to generated man pages
Diffstat (limited to 'src/manual/scala/man1/scala.scala')
-rw-r--r--src/manual/scala/man1/scala.scala22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/manual/scala/man1/scala.scala b/src/manual/scala/man1/scala.scala
index 76ebbccff0..24c0e3060b 100644
--- a/src/manual/scala/man1/scala.scala
+++ b/src/manual/scala/man1/scala.scala
@@ -149,8 +149,22 @@ object scala extends Command {
MBold("JAVACMD"),
"Specify the " & MBold("java") & " command to be used " &
"for running the Scala code. Arguments may be specified " &
- "as part of the environment variable; spaces, quotation marks " &
- "etc., will be passed directly to the shell for expansion.")))
+ "as part of the environment variable; spaces, quotation marks, " &
+ "etc., will be passed directly to the shell for expansion."),
+ Definition(
+ MBold("JAVA_OPTS"),
+ SeqPara(
+ "Specify the options to be passed to the " & MBold("java") &
+ " command defined by " & MBold("JAVACMD") & ".",
+
+ "With Java 1.5 (or newer) one may for example configure the " &
+ "memory usage of the JVM as follows: " &
+ Mono("JAVA_OPTS=-Xmx512M -Xms16M -Xss16M"),
+
+ "With " & Link("GNU Java", "http://gcc.gnu.org/java/") & " one " &
+ "may configure the memory usage of the GIJ as follows: " &
+ Mono("JAVA_OPTS=--mx512m --ms16m")
+ ))))
val examples = Section("EXAMPLES",
@@ -228,8 +242,8 @@ object scala extends Command {
def manpage = new Document {
title = command
date = lastModified
- author = "LAMP"
- version = "0.3"
+ author = "Stephane Micheloud"
+ version = "0.4"
sections = List(
name,
synopsis,