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 | b53eacfaccd14cd60fb06722b41a85c6cba36c62 (patch) | |
| tree | cad78334fe5f8480f38c173fffe08802fb51f7e7 /docs/usage.xsl | |
| parent | 433f39d115823ef85219231a94348910e536eb10 (diff) | |
| download | rabbitmq-server-git-b53eacfaccd14cd60fb06722b41a85c6cba36c62.tar.gz | |
Reinstate whitespace and [] in usage message broken in 600668c4da36.
Diffstat (limited to 'docs/usage.xsl')
| -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 841b2a8461..04beebca7e 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> |
