diff options
author | Simon MacMullen <simon@lshift.net> | 2010-03-29 15:50:01 +0100 |
---|---|---|
committer | Simon MacMullen <simon@lshift.net> | 2010-03-29 15:50:01 +0100 |
commit | f1654bf5046d83c3ec7ae3750a1cc4b8a34aa3e0 (patch) | |
tree | 459c0001553270ce987d22780a86f7cd37657443 | |
parent | fc1d45b378e1dcbcc7dec9cba55e2e9f0159fe04 (diff) | |
download | rabbitmq-server-f1654bf5046d83c3ec7ae3750a1cc4b8a34aa3e0.tar.gz |
A couple more cosmetic fixes to the usage messages.
-rw-r--r-- | docs/rabbitmqctl.1.xml | 4 | ||||
-rw-r--r-- | docs/usage.xsl | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml index e7fc45e4..7634b2d2 100644 --- a/docs/rabbitmqctl.1.xml +++ b/docs/rabbitmqctl.1.xml @@ -65,7 +65,7 @@ <title>Options</title> <variablelist> <varlistentry> - <term><option>-n</option> <replaceable>node</replaceable></term> + <term><cmdsynopsis><arg choice="opt">-n <replaceable>node</replaceable></arg></cmdsynopsis></term> <listitem> <para role="usage"> Default node is "rabbit@server", where server is the local host. On @@ -79,7 +79,7 @@ </listitem> </varlistentry> <varlistentry> - <term><option>-q</option></term> + <term><cmdsynopsis><arg choice="opt">-q</arg></cmdsynopsis></term> <listitem> <para role="usage"> Quiet output mode is selected with the "-q" flag. Informational diff --git a/docs/usage.xsl b/docs/usage.xsl index 04beebca..943333d8 100644 --- a/docs/usage.xsl +++ b/docs/usage.xsl @@ -22,9 +22,7 @@ usage() -> io:format(%QUOTE%Usage: <xsl:value-of select="refentry/refsynopsisdiv/cmdsynopsis/command"/> <xsl:text> </xsl:text> <xsl:for-each select="refentry/refsynopsisdiv/cmdsynopsis/arg"> - <xsl:if test="@choice='opt'">[</xsl:if> <xsl:apply-templates select="." /> - <xsl:if test="@choice='opt'">]</xsl:if> <xsl:text> </xsl:text> </xsl:for-each> |