summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin/Getopt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Nagios/Plugin/Getopt.pm')
-rw-r--r--lib/Nagios/Plugin/Getopt.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Nagios/Plugin/Getopt.pm b/lib/Nagios/Plugin/Getopt.pm
index d38dced..7f32c3b 100644
--- a/lib/Nagios/Plugin/Getopt.pm
+++ b/lib/Nagios/Plugin/Getopt.pm
@@ -5,7 +5,6 @@
5 5
6package Nagios::Plugin::Getopt; 6package Nagios::Plugin::Getopt;
7 7
8use 5.005003;
9use strict; 8use strict;
10use File::Basename; 9use File::Basename;
11use Getopt::Long qw(:config no_ignore_case bundling); 10use Getopt::Long qw(:config no_ignore_case bundling);
@@ -21,7 +20,7 @@ $VERSION = $Nagios::Plugin::Base::VERSION;
21my %DEFAULT = ( 20my %DEFAULT = (
22 timeout => 15, 21 timeout => 15,
23 verbose => 0, 22 verbose => 0,
24 licence => 23 license =>
25"This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY. 24"This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
26It may be used, redistributed and/or modified under the terms of the GNU 25It may be used, redistributed and/or modified under the terms of the GNU
27General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).", 26General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).",
@@ -265,7 +264,7 @@ sub _init
265 plugin => { default => $plugin }, 264 plugin => { default => $plugin },
266 blurb => 0, 265 blurb => 0,
267 extra => 0, 266 extra => 0,
268 license => { default => $DEFAULT{licence} }, 267 license => { default => $DEFAULT{license} },
269 timeout => { default => $DEFAULT{timeout} }, 268 timeout => { default => $DEFAULT{timeout} },
270 }); 269 });
271 270
@@ -400,7 +399,7 @@ Short plugin description, included in the longer --help output
400 399
401License text, included in the longer --help output (see below for an 400License text, included in the longer --help output (see below for an
402example). By default, this is set to the standard nagios plugins 401example). By default, this is set to the standard nagios plugins
403GPL licence text: 402GPL license text:
404 403
405 This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY. 404 This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
406 It may be used, redistributed and/or modified under the terms of the GNU 405 It may be used, redistributed and/or modified under the terms of the GNU