summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/man/src/man/man1/Command.scala8
-rw-r--r--docs/man/src/man/man1/sbaz.scala4
2 files changed, 9 insertions, 3 deletions
diff --git a/docs/man/src/man/man1/Command.scala b/docs/man/src/man/man1/Command.scala
index b59c27d854..49c79e6f66 100644
--- a/docs/man/src/man/man1/Command.scala
+++ b/docs/man/src/man/man1/Command.scala
@@ -22,7 +22,13 @@ trait Command {
Mono(Bold(NDash & opt) & " " & params & " ")
protected def CmdOption(opt: String): AbstractText =
- CmdOption(opt, "")
+ Mono(Bold(NDash & opt) & " ")
+
+ protected def CmdOptionLong(opt: String, params: AbstractText) =
+ Mono(Bold(NDash & NDash & opt) & " " & params & " ")
+
+ protected def CmdOptionLong(opt: String): AbstractText =
+ Mono(Bold(NDash & NDash & opt) & " ")
protected def Argument(arg: String): AbstractText =
"<" & Italic(arg) & ">"
diff --git a/docs/man/src/man/man1/sbaz.scala b/docs/man/src/man/man1/sbaz.scala
index 09bf2fcdb2..6095b71290 100644
--- a/docs/man/src/man/man1/sbaz.scala
+++ b/docs/man/src/man/man1/sbaz.scala
@@ -118,8 +118,8 @@ object sbaz extends Command {
"but it may also be specified on the command line with the " &
CmdOption("i") & " option."),
Definition(
- MBold("share") & " " & CmdOption("-template"),
- "If " & CmdOption("-template") & " is specified, then instead " &
+ MBold("share") & " " & CmdOptionLong("template"),
+ "If " & CmdOptionLong("template") & " is specified, then instead " &
"of uploading a description, the command prints out a template " &
"of a package advertisement."),
Definition(