summaryrefslogtreecommitdiffstats
path: root/lib/Nagios
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Nagios')
-rw-r--r--lib/Nagios/Plugin.pm2
-rw-r--r--lib/Nagios/Plugin/Getopt.pm2
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:
5072. explicitly set by calling C<set_thresholds()> before C<check_threshold()>, or, 5072. explicitly set by calling C<set_thresholds()> before C<check_threshold()>, or,
508 508
5093. implicitly set by command-line parameters -w, -c, --critical or 5093. 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
512The return value is ready to pass to C <nagios_exit>, e . g ., 512The 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)",