From bcb2f2652180be64d78bc4db6f7e33ece35611dc Mon Sep 17 00:00:00 2001 From: regilero Date: Mon, 4 Jan 2016 14:22:49 +0100 Subject: [PATCH] rename long option --verify_hostname to --verifyhostname I prefer. --- check_phpfpm_status.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_phpfpm_status.pl b/check_phpfpm_status.pl index d8f9c32..779c673 100755 --- a/check_phpfpm_status.pl +++ b/check_phpfpm_status.pl @@ -125,7 +125,7 @@ sub help { -1 for no CRITICAL -V, --version prints version number --x, --verify_hostname +-x, --verifyhostname verify hostname from ssl cert, set it to 0 to ignore bad hostname from cert Note : @@ -173,7 +173,7 @@ sub check_options { 'w=s' => \$o_warn_thresold, 'warn=s' => \$o_warn_thresold, 'c=s' => \$o_crit_thresold, 'critical=s' => \$o_crit_thresold, 't:i' => \$o_timeout, 'timeout:i' => \$o_timeout, - 'x:i' => \$o_verify_hostname, 'verify_hostname:i' => \$o_verify_hostname, + 'x:i' => \$o_verify_hostname, 'verifyhostname:i' => \$o_verify_hostname, ); if (defined ($o_help)) {