diff options
author | michelou <michelou@epfl.ch> | 2006-10-31 09:43:39 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-10-31 09:43:39 +0000 |
commit | dd9a27c37f40655dc467f71fd6e3539bd88afe22 (patch) | |
tree | 4f3f70889de730a2f1c8df4a40a19298de56d7ed /src/manual | |
parent | 247577e9664407de2f98294a2adae6f8131d919d (diff) | |
download | scala-dd9a27c37f40655dc467f71fd6e3539bd88afe22.tar.gz scala-dd9a27c37f40655dc467f71fd6e3539bd88afe22.tar.bz2 scala-dd9a27c37f40655dc467f71fd6e3539bd88afe22.zip |
added option '-deprecation' in scalac man page
Diffstat (limited to 'src/manual')
-rw-r--r-- | src/manual/scala/man1/scalac.scala | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/manual/scala/man1/scalac.scala b/src/manual/scala/man1/scalac.scala index 3acd725850..eb54944371 100644 --- a/src/manual/scala/man1/scalac.scala +++ b/src/manual/scala/man1/scalac.scala @@ -101,6 +101,14 @@ object scalac extends Command { CmdOption("d", Argument("directory")), "Specify where to place generated class files."), Definition( + CmdOption("deprecation"), + SeqPara( + "Indicates whether source should be compiled with deprecation " & + "information; defaults to " & Mono("off") & " (" & + "accepted values are: " & Mono("on") & ", " & Mono("off") & + ", " & Mono("yes") & " and " & Mono("no") & ")", + "Available since Scala version 2.2.1")), + Definition( CmdOption("encoding", Argument("encoding")), SeqPara( "Specify character encoding used by source files.", @@ -108,7 +116,7 @@ object scalac extends Command { ", Windows: " & Mono("\"Cp1252\"") & "). Executing the following " & "code in the Scala interpreter will return the default value " & "on your system:", - MBold(" scala>") & + MBold(" scala> ") & Mono("new java.io.InputStreamReader(System.in).getEncoding"))), Definition( CmdOption("target:", Argument("target")), |