aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/doc/src/snmpc_cmd.xml
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-08-02 11:24:55 +0200
committerMicael Karlberg <[email protected]>2011-08-02 11:24:55 +0200
commit08eaf2c5353b07368b2de3a178a1e987a534f87d (patch)
tree44000820a5a2e9e0b6fcd6700417bde0d3eadb6b /lib/snmp/doc/src/snmpc_cmd.xml
parent07936436b8a8b18b80451a09e040283ebecbd43b (diff)
downloadotp-08eaf2c5353b07368b2de3a178a1e987a534f87d.tar.gz
otp-08eaf2c5353b07368b2de3a178a1e987a534f87d.tar.bz2
otp-08eaf2c5353b07368b2de3a178a1e987a534f87d.zip
[compiler] Used wrong variable name (for
warnings-as-errors variable), which caused the compiler to crash when using the snmpc script. Also added the option --Werror for the SNMP MIB compiler (escript) frontend (to mimic erlc), which specifies whether warnings should be treated as errors. OTP-9447
Diffstat (limited to 'lib/snmp/doc/src/snmpc_cmd.xml')
-rw-r--r--lib/snmp/doc/src/snmpc_cmd.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/snmp/doc/src/snmpc_cmd.xml b/lib/snmp/doc/src/snmpc_cmd.xml
index 72116f8981..dda8f017dc 100644
--- a/lib/snmp/doc/src/snmpc_cmd.xml
+++ b/lib/snmp/doc/src/snmpc_cmd.xml
@@ -86,9 +86,10 @@
<item>
<p>Print warning messages. </p>
<marker id="option_wae"></marker>
+ <marker id="option_werror"></marker>
</item>
- <tag>--wae</tag>
+ <tag>--wae | --Werror</tag>
<item>
<p>Warnings as errors.
Indicates that warnings shall be treated as errors. </p>
@@ -211,7 +212,7 @@
<section>
<title>SEE ALSO</title>
- <p><seealso marker="erlc">erlc(1)</seealso>,
+ <p><seealso marker="erts:erlc">erlc(1)</seealso>,
<seealso marker="compiler:compile">compile(3)</seealso>,
<seealso marker="snmp:snmpc">snmpc(3)</seealso></p>
</section>