dsa-check-zone-rrsig-expiration: make getopt accept -h
authorPeter Palfrader <peter@palfrader.org>
Sun, 7 Feb 2010 15:45:25 +0000 (16:45 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 7 Feb 2010 15:45:25 +0000 (16:45 +0100)
dsa-nagios-checks/checks/dsa-check-zone-rrsig-expiration

index a915c4b..5d3893b 100755 (executable)
@@ -72,7 +72,7 @@ use Time::Local;
 use List::Util qw ( shuffle );
 
 my %opts = (t=>30);
-getopts('Z:dt:', \%opts);
+getopts('hZ:dt:', \%opts);
 usage() unless $opts{Z};
 usage() if $opts{h};
 my $zone = $opts{Z};