summaryrefslogtreecommitdiff
path: root/docs/usage.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'docs/usage.xsl')
-rw-r--r--docs/usage.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/usage.xsl b/docs/usage.xsl
index 841b2a8461..f2e4c822cc 100644
--- a/docs/usage.xsl
+++ b/docs/usage.xsl
@@ -18,7 +18,7 @@
<!-- Pull out cmdsynopsis to show the command usage line. -->%% Generated, do not edit!
-module(<xsl:value-of select="$modulename" />).
-export([usage/0]).
-usage() -> io:format(%QUOTE%Usage:
+usage() -> %QUOTE%Usage:
<xsl:value-of select="refentry/refsynopsisdiv/cmdsynopsis/command"/>
<xsl:text> </xsl:text>
<xsl:for-each select="refentry/refsynopsisdiv/cmdsynopsis/arg">
@@ -60,7 +60,7 @@ usage() -> io:format(%QUOTE%Usage:
</xsl:for-each>
<xsl:apply-templates select=".//*[title='Commands']/refsect2" mode="command-usage" />
-%QUOTE%), halt(1).
+%QUOTE%.
</xsl:template>
<!-- Option lists in command usage -->