--- snmpdx.pl 2004/07/30 09:27:21 1.14
+++ snmpdx.pl 2004/07/30 09:30:04 1.15
@@ -495,6 +495,7 @@
'logfile' => "@localstatedir@/snmpdx.log",
'loglevel' => 9,
'strict' => 0,
+ 'openpkg' => "@openpkg@",
};
# command line parsing
@@ -514,6 +515,7 @@
'l|logfile=s' => \$opt->{'logfile'},
'L|loglevel=i' => \$opt->{'loglevel'},
'S|strict' => \$opt->{'strict'},
+ 'O|openpkg' => \$opt->{'openpkg'},
);
Getopt::Long::Configure("bundling");
my $result = GetOptions(%options) || die "option parsing failed";
@@ -534,7 +536,8 @@
" -m,--mibname=MIB the name of the MIB to act under\n" .
" -l,--logfile=PATH path to daemon logfile\n" .
" -L,--loglevel=NUM logging level (0...9)\n" .
- " -S,--strict strict processing of unknown values\n";
+ " -S,--strict strict processing of unknown values\n" .
+ " -O,--openpkg OpenPKG instance to use for swOp, swBind\n";
exit(0);
}
if ($opt->{'version'}) {
|