From a625872ee35399c0ff69d95d8695feecaab7e79c Mon Sep 17 00:00:00 2001 From: tonvoon Date: Thu, 15 Apr 2010 08:31:45 +0000 Subject: Updated --extra-opts help text. Pod fix (Frank Wiegand - RT51872) --- lib/Nagios/Plugin.pm | 2 +- lib/Nagios/Plugin/Getopt.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Nagios') diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm index 82bbfcb..cdc3ef8 100644 --- a/lib/Nagios/Plugin.pm +++ b/lib/Nagios/Plugin.pm @@ -507,7 +507,7 @@ WARNING constant. The thresholds may be: 2. explicitly set by calling C before C, or, 3. implicitly set by command-line parameters -w, -c, --critical or - --warning, if you have run C<$plugin->getopts()>. + --warning, if you have run C<< $plugin->getopts() >>. The return value is ready to pass to C , e . g ., diff --git a/lib/Nagios/Plugin/Getopt.pm b/lib/Nagios/Plugin/Getopt.pm index 0cf8f73..14aab03 100644 --- a/lib/Nagios/Plugin/Getopt.pm +++ b/lib/Nagios/Plugin/Getopt.pm @@ -38,7 +38,7 @@ my @ARGS = ({ help => "-V, --version\n Print version information", }, { spec => 'extra-opts:s@', - help => "--extra-opts=[
[@]]\n Section and/or config_file from which to load extra options (may repeat)", + help => "--extra-opts=[section][\@file]\n Read options from an ini file. See http://nagiosplugins.org/extra-opts for usage", }, { spec => 'timeout|t=i', help => "-t, --timeout=INTEGER\n Seconds before plugin times out (default: %s)", -- cgit v1.2.3-74-g34f1