summaryrefslogtreecommitdiff
path: root/doc/man/man1/scala.1
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-05-02 12:47:58 +0000
committermichelou <michelou@epfl.ch>2005-05-02 12:47:58 +0000
commitde8fc1e7deadeb4720dd3103ce06398fc68e3c08 (patch)
tree703ec2719aac2e8dd739d730f2d5144c42424de0 /doc/man/man1/scala.1
parent74b9d7323476bba57e32c13baeff6b3c7233ffc7 (diff)
downloadscala-de8fc1e7deadeb4720dd3103ce06398fc68e3c08.tar.gz
scala-de8fc1e7deadeb4720dd3103ce06398fc68e3c08.tar.bz2
scala-de8fc1e7deadeb4720dd3103ce06398fc68e3c08.zip
*** empty log message ***
Diffstat (limited to 'doc/man/man1/scala.1')
-rw-r--r--doc/man/man1/scala.118
1 files changed, 14 insertions, 4 deletions
diff --git a/doc/man/man1/scala.1 b/doc/man/man1/scala.1
index f7753ef6fc..9dee330ddf 100644
--- a/doc/man/man1/scala.1
+++ b/doc/man/man1/scala.1
@@ -43,9 +43,9 @@ 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 String 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.
+The method must not return any 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
The Scala runtime searches for the startup class, and other classes used, in
three sets of locations: the bootstrap class path, the installed extensions,
@@ -60,10 +60,19 @@ 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.
.TP
-\fB\-classpath\fR <\fIpath\fR>
+\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.
+.TP
+\fB\-showversion\fR
+Print product version and continue.
+.TP
+\fB\-version\fR
+Print product version and exit.
.\"
.\" ############################### EXAMPLES #################################
.\"
@@ -105,6 +114,7 @@ NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.\"
.SH "SEE ALSO"
.BR scalac(1),
+.BR scaladoc(1),
.BR scalaint(1),
.BR scalarun(1)
.\"