diff options
Diffstat (limited to 'src/manual/scala/man1/Command.scala')
-rw-r--r-- | src/manual/scala/man1/Command.scala | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/manual/scala/man1/Command.scala b/src/manual/scala/man1/Command.scala index 01b0750c01..16c4307140 100644 --- a/src/manual/scala/man1/Command.scala +++ b/src/manual/scala/man1/Command.scala @@ -5,6 +5,10 @@ package scala.man1 +/** + * @author Stephane Micheloud + * @version 1.0 + */ trait Command { import _root_.scala.tools.docutil.ManPage._ @@ -23,6 +27,9 @@ trait Command { protected def CmdOption(opt: String): AbstractText = Mono(Bold(NDash & opt) & " ") + protected def CmdOptionBound(opt: String, params: AbstractText) = + Mono(Bold(NDash & opt) & params & " ") + protected def CmdOptionLong(opt: String, params: AbstractText) = Mono(Bold(NDash & NDash & opt) & " " & params & " ") @@ -48,10 +55,5 @@ trait Command { "Report bugs to " & Mono("https://issues.scala-lang.org/") & ".") - //private val df = new java.text.SimpleDateFormat("MMM d, yyyy") - //private val rightNow = new java.util.Date() - - def lastModified: String = "April 18, 2007" // df.format(rightNow) - def manpage: Document } |