Skip to content

Commit

Permalink
Make script die with usage message if option parsing fails
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsd6 committed Aug 19, 2015
1 parent 52e19bd commit 075f26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hipchat.pl
Expand Up @@ -76,7 +76,7 @@
"host=s" => \$optionHipchatHost,
"notify=s" => \$optionNotify,
"colour|color=s" => \$optionColour,
"debug=s" => \$optionDebug);
"debug=s" => \$optionDebug) || die ("$usage\n");;

##############################
## VERIFY OPTIONS
Expand Down

0 comments on commit 075f26a

Please sign in to comment.