diff options
Diffstat (limited to 'lib/Nagios')
-rw-r--r-- | lib/Nagios/Plugin.pm | 2 | ||||
-rw-r--r-- | lib/Nagios/Plugin/Getopt.pm | 2 |
2 files changed, 2 insertions, 2 deletions
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: | |||
507 | 2. explicitly set by calling C<set_thresholds()> before C<check_threshold()>, or, | 507 | 2. explicitly set by calling C<set_thresholds()> before C<check_threshold()>, or, |
508 | 508 | ||
509 | 3. implicitly set by command-line parameters -w, -c, --critical or | 509 | 3. implicitly set by command-line parameters -w, -c, --critical or |
510 | --warning, if you have run C<$plugin->getopts()>. | 510 | --warning, if you have run C<< $plugin->getopts() >>. |
511 | 511 | ||
512 | The return value is ready to pass to C <nagios_exit>, e . g ., | 512 | The return value is ready to pass to C <nagios_exit>, e . g ., |
513 | 513 | ||
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 = ({ | |||
38 | help => "-V, --version\n Print version information", | 38 | help => "-V, --version\n Print version information", |
39 | }, { | 39 | }, { |
40 | spec => 'extra-opts:s@', | 40 | spec => 'extra-opts:s@', |
41 | help => "--extra-opts=[<section>[@<config_file>]]\n Section and/or config_file from which to load extra options (may repeat)", | 41 | help => "--extra-opts=[section][\@file]\n Read options from an ini file. See http://nagiosplugins.org/extra-opts for usage", |
42 | }, { | 42 | }, { |
43 | spec => 'timeout|t=i', | 43 | spec => 'timeout|t=i', |
44 | help => "-t, --timeout=INTEGER\n Seconds before plugin times out (default: %s)", | 44 | help => "-t, --timeout=INTEGER\n Seconds before plugin times out (default: %s)", |