summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-05-11 16:19:36 +0000
committermichelou <michelou@epfl.ch>2005-05-11 16:19:36 +0000
commit27ea2ec9084d382a6903d8d79b6614d9edaea497 (patch)
tree80dcff7eb9b850f2a7a1ce11a4494075f48e7a07 /doc
parent88a54be387762d1fdf96a8a128c84e95e613873c (diff)
downloadscala-27ea2ec9084d382a6903d8d79b6614d9edaea497.tar.gz
scala-27ea2ec9084d382a6903d8d79b6614d9edaea497.tar.bz2
scala-27ea2ec9084d382a6903d8d79b6614d9edaea497.zip
- added more options.
- corrected typos.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/man1/scala.117
1 files changed, 13 insertions, 4 deletions
diff --git a/doc/man/man1/scala.1 b/doc/man/man1/scala.1
index d6edccdf47..4fc89e86e4 100644
--- a/doc/man/man1/scala.1
+++ b/doc/man/man1/scala.1
@@ -43,7 +43,7 @@ class’s \fBmain\fR method. The method must have the following signature:
.PP
\fBdef\fR main(args: Array[String]): Unit
.PP
-The method must not return any value, and it must accept a \fBString\fR
+The method must return a \fBUnit\fR value, and it must accept a \fBString\fR
array as a parameter. By default, the first non-option argument is the name
of the class to be invoked. A fully-qualified class name should be used.
.PP
@@ -59,20 +59,29 @@ runtime environment and will be supported in future releases. An additional
set of non-standard options are specific to the current virtual machine
implementation and are subject to change in the future. Non-standard options
begin with \fB-X\fR.
+.SS Standard Options
.TP
\fB\-cp -classpath\fR <\fIpath\fR>
Specify where to find user class files (on Unix-based systems a
colon-separated list of paths, on Windows-based systems, a semicolon-separate
list of paths).
.TP
-\fB\-help\fR
-Print this help message.
+\fB\-D\fR<\fIname\fR>=<\fIvalue\fR>
+Set a system property.
+.TP
+\fB\-verbose\fR[:class|gc|jni]
+Enable verbose output.
.TP
\fB\-showversion\fR
Print product version and continue.
.TP
\fB\-version\fR
Print product version and exit.
+.TP
+\fB\-help\fR
+Print this help message.
+.SS Non-Standard Options
+Same options as the \fBjava\fR command.
.\"
.\" ############################### EXAMPLES #################################
.\"
@@ -91,7 +100,7 @@ Execute a Scala program generated in a user-defined directory \fBclasses\fR
.\" ############################# EXIT STATUS ################################
.\"
.SH "EXIT STATUS"
-\fBscala\fR returns a zero exist status if it succeeds. Non zero is returned
+\fBscala\fR returns a zero exit status if it succeeds. Non zero is returned
in case of failure.
.\"
.\" ############################## AUTHOR(S) #################################