diff options
Diffstat (limited to 'lib/Nagios/Plugin/Getopt.pm')
-rw-r--r-- | lib/Nagios/Plugin/Getopt.pm | 7 |
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 | ||
6 | package Nagios::Plugin::Getopt; | 6 | package Nagios::Plugin::Getopt; |
7 | 7 | ||
8 | use 5.005003; | ||
9 | use strict; | 8 | use strict; |
10 | use File::Basename; | 9 | use File::Basename; |
11 | use Getopt::Long qw(:config no_ignore_case bundling); | 10 | use Getopt::Long qw(:config no_ignore_case bundling); |
@@ -21,7 +20,7 @@ $VERSION = $Nagios::Plugin::Base::VERSION; | |||
21 | my %DEFAULT = ( | 20 | my %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. |
26 | It may be used, redistributed and/or modified under the terms of the GNU | 25 | It may be used, redistributed and/or modified under the terms of the GNU |
27 | General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).", | 26 | General 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 | ||
401 | License text, included in the longer --help output (see below for an | 400 | License text, included in the longer --help output (see below for an |
402 | example). By default, this is set to the standard nagios plugins | 401 | example). By default, this is set to the standard nagios plugins |
403 | GPL licence text: | 402 | GPL 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 |