summaryrefslogtreecommitdiffstats
path: root/lib/Nagios
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Nagios')
-rw-r--r--lib/Nagios/Plugin.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm
index 98c2896..697005a 100644
--- a/lib/Nagios/Plugin.pm
+++ b/lib/Nagios/Plugin.pm
@@ -254,7 +254,7 @@ plugins
254 ); 254 );
255 255
256 # add valid command line options and build them into your usage/help documentation. 256 # add valid command line options and build them into your usage/help documentation.
257 $p->add_arg( 257 $np->add_arg(
258 spec => 'warning|w=s', 258 spec => 'warning|w=s',
259 help => '-w, --warning=INTEGER:INTEGER . See ' 259 help => '-w, --warning=INTEGER:INTEGER . See '
260 . 'http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT ' 260 . 'http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT '
@@ -262,7 +262,7 @@ plugins
262 ); 262 );
263 263
264 # Parse @ARGV and process standard arguments (e.g. usage, help, version) 264 # Parse @ARGV and process standard arguments (e.g. usage, help, version)
265 $p->getopts; 265 $np->getopts;
266 266
267 267
268 # Exit/return value methods - nagios_exit( CODE, MESSAGE ), 268 # Exit/return value methods - nagios_exit( CODE, MESSAGE ),