Skip to content

Commit

Permalink
rename long option --verify_hostname to --verifyhostname
Browse files Browse the repository at this point in the history
I prefer.
  • Loading branch information
regilero committed Jan 4, 2016
1 parent 51b2a32 commit bcb2f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_phpfpm_status.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit bcb2f26

Please sign in to comment.