diff options
author | Simon MacMullen <simon@lshift.net> | 2010-03-29 12:02:39 +0100 |
---|---|---|
committer | Simon MacMullen <simon@lshift.net> | 2010-03-29 12:02:39 +0100 |
commit | fc1d45b378e1dcbcc7dec9cba55e2e9f0159fe04 (patch) | |
tree | cad78334fe5f8480f38c173fffe08802fb51f7e7 | |
parent | aa2cbd3584de485a094a2b2ab394c5b660740d61 (diff) | |
download | rabbitmq-server-fc1d45b378e1dcbcc7dec9cba55e2e9f0159fe04.tar.gz |
Reinstate whitespace and [] in usage message broken in 600668c4da36.
-rw-r--r-- | docs/usage.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/usage.xsl b/docs/usage.xsl index 841b2a84..04beebca 100644 --- a/docs/usage.xsl +++ b/docs/usage.xsl @@ -12,7 +12,7 @@ encoding="UTF-8" indent="no"/> <xsl:strip-space elements="*"/> -<xsl:preserve-space elements="term" /> +<xsl:preserve-space elements="cmdsynopsis arg" /> <xsl:template match="/"> <!-- Pull out cmdsynopsis to show the command usage line. -->%% Generated, do not edit! @@ -74,7 +74,7 @@ usage() -> io:format(%QUOTE%Usage: <!-- Don't show anything else in command usage --> <xsl:template match="text()" mode="command-usage"/> -<xsl:template match="option">[<xsl:apply-templates/>]</xsl:template> +<xsl:template match="arg[@choice='opt']">[<xsl:apply-templates/>]</xsl:template> <xsl:template match="replaceable"><<xsl:value-of select="."/>></xsl:template> </xsl:stylesheet> |