From cac2257eeee2158fc0348913a7551fd947f40787 Mon Sep 17 00:00:00 2001
From: Micael Karlberg
Date: Mon, 18 Jul 2011 15:25:51 +0200
Subject: [compiler] Added the option warnings_as_errors which specifies
whether warnings should be treated as errors. Tuncer Ayaz. OTP-9437
---
lib/snmp/doc/src/snmpc.xml | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
(limited to 'lib/snmp/doc/src/snmpc.xml')
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 @@
File = string()
Options = [opt()]
- 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()
+ 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()
db() = {db, volatile|persistent|mnesia}
deprecated() = {deprecated, bool()}
relaxed_row_name_assign_check() = relaxed_row_name_assign_check
@@ -66,6 +70,7 @@
outdir() = {outdir, dir()}
verbosity() = {verbosity, silence|warning|info|log|debug|trace}
warnings() = {warnings, bool()}
+ warnings_as_errors() = warnings_as_errors
dir() = string()
BinFileName = string()
@@ -200,11 +205,17 @@
-
The option warnings specifies whether warning
- messages should be shown.
+ messages should be shown.
Default is true.
+ -
+
The option warnings_as_errors, if present, specifies
+ whether warnings should be treated as errors.
+
+
+
The MIB compiler understands both SMIv1 and SMIv2 MIBs. It
uses the MODULE-IDENTITY statement to determine if the MIB is
version 1 or 2.
--
cgit v1.2.3