=================================================================== RCS file: /cvs/nagios/check_hw_sensors/check_hw_sensors,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- nagios/check_hw_sensors/check_hw_sensors 2006/05/02 02:29:33 1.2 +++ nagios/check_hw_sensors/check_hw_sensors 2006/05/02 02:39:23 1.3 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $RedRiver: check_sensors,v 1.1 2006/05/01 18:11:23 andrew Exp $ +# $RedRiver: check_hw_sensors,v 1.2 2006/05/02 01:29:33 andrew Exp $ ######################################################################## # check_hw_sensors *** A nagios check for OpenBSD hw.sensors # @@ -40,8 +40,8 @@ #Option checking my $status = GetOptions( - "V" => \$opt_V, "version" => \$opt_V, - "h" => \$opt_h, "help" => \$opt_h, + "version|V" => \$opt_V, + "help|h" => \$opt_h, "filename|f:s" => \$filename, "sensor|s=s" => \$sensor, "warning|w=s" => \$warning, @@ -57,7 +57,7 @@ } if ($opt_V) { - print_revision($PROGNAME,'$Revision: 1.2 $ '); + print_revision($PROGNAME,'$Revision: 1.3 $ '); exit $ERRORS{'OK'}; } @@ -422,6 +422,6 @@ EOL - print_revision($PROGNAME, '$Revision: 1.2 $'); + print_revision($PROGNAME, '$Revision: 1.3 $'); }