aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/doc/src/snmpc.xml
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-07-18 15:25:51 +0200
committerMicael Karlberg <[email protected]>2011-07-18 15:25:51 +0200
commitcac2257eeee2158fc0348913a7551fd947f40787 (patch)
treeb86bda17475f96b2fa53b1224171e00857f639ed /lib/snmp/doc/src/snmpc.xml
parent917ac0f91480757051b3644832e0bdbb5afd41b6 (diff)
downloadotp-cac2257eeee2158fc0348913a7551fd947f40787.tar.gz
otp-cac2257eeee2158fc0348913a7551fd947f40787.tar.bz2
otp-cac2257eeee2158fc0348913a7551fd947f40787.zip
[compiler] Added the option warnings_as_errors which
specifies whether warnings should be treated as errors. Tuncer Ayaz. OTP-9437
Diffstat (limited to 'lib/snmp/doc/src/snmpc.xml')
-rw-r--r--lib/snmp/doc/src/snmpc.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/snmp/doc/src/snmpc.xml b/lib/snmp/doc/src/snmpc.xml
index 771629492d..61d19251c5 100644
--- a/lib/snmp/doc/src/snmpc.xml
+++ b/lib/snmp/doc/src/snmpc.xml
@@ -48,7 +48,11 @@
<type>
<v>File = string()</v>
<v>Options = [opt()]</v>
- <v>opt() = db() | relaxed_row_name_assign_check() | deprecated() | description() | reference() | group_check() | i() | il() | imports() | module() | module_identity() | module_compliance() | agent_capabilities() | outdir() | no_defs() | verbosity() | warnings()</v>
+ <v>opt() = db() | relaxed_row_name_assign_check() | deprecated() |
+ description() | reference() | group_check() | i() | il() |
+ imports() | module() | module_identity() | module_compliance() |
+ agent_capabilities() | outdir() | no_defs() | verbosity() |
+ warnings() | warnings_as_errors()</v>
<v>db() = {db, volatile|persistent|mnesia}</v>
<v>deprecated() = {deprecated, bool()}</v>
<v>relaxed_row_name_assign_check() = relaxed_row_name_assign_check</v>
@@ -66,6 +70,7 @@
<v>outdir() = {outdir, dir()}</v>
<v>verbosity() = {verbosity, silence|warning|info|log|debug|trace}</v>
<v>warnings() = {warnings, bool()}</v>
+ <v>warnings_as_errors() = warnings_as_errors</v>
<v>dir() = string()</v>
<v>BinFileName = string()</v>
</type>
@@ -200,11 +205,17 @@
<item>
<p>The option <c>warnings</c> specifies whether warning
- messages should be shown. </p>
+ messages should be shown. </p>
<p>Default is <c>true</c>. </p>
</item>
+ <item>
+ <p>The option <c>warnings_as_errors</c>, if present, specifies
+ whether warnings should be treated as errors.</p>
+ </item>
+
</list>
+
<p>The MIB compiler understands both SMIv1 and SMIv2 MIBs. It
uses the <c>MODULE-IDENTITY</c> statement to determine if the MIB is
version 1 or 2.