summaryrefslogtreecommitdiff
path: root/src/manual
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2006-06-22 13:44:18 +0000
committerLex Spoon <lex@lexspoon.org>2006-06-22 13:44:18 +0000
commit7aceef658adb6141019062f0252574ee7010dc92 (patch)
tree6b2c2048bdf9732990d5a34c57922db596f8e030 /src/manual
parentb113b640be884985e0ca2e258a34e0711ee8b416 (diff)
downloadscala-7aceef658adb6141019062f0252574ee7010dc92.tar.gz
scala-7aceef658adb6141019062f0252574ee7010dc92.tar.bz2
scala-7aceef658adb6141019062f0252574ee7010dc92.zip
document the classpath handling
Diffstat (limited to 'src/manual')
-rw-r--r--src/manual/scala/man1/scala.scala9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/manual/scala/man1/scala.scala b/src/manual/scala/man1/scala.scala
index db3e03a184..2d94085cf7 100644
--- a/src/manual/scala/man1/scala.scala
+++ b/src/manual/scala/man1/scala.scala
@@ -105,7 +105,14 @@ object scala extends Command {
"Such a header must have each header boundary start at the beginning of a " &
"line. Headers can be used to make stand-alone script files, as shown " &
- "in the examples below.")
+ "in the examples below.",
+
+ "If " & Mono("scala") & " is run from an sbaz(1) directory, " &
+ "then it will add to its classpath any jars installed in the " &
+ "lib directory of the sbaz directory. Additionally, if no " &
+ "-classpath option is specified, then " & Mono("scala") &
+ " will add " & Quote(".") & ", the current directory, to the " &
+ "end of the classpath.")
val options = Section("OPTIONS",