--help now exits successfully

This commit is contained in:
Dima Kogan 2011-01-17 01:00:56 -08:00
parent a1fd8b11f2
commit 4d77d6dcdc

View File

@ -191,7 +191,8 @@ GetOptions(\%options,
# handle various cmdline-option errors
if( $options{help} )
{
die($usage);
say STDERR $usage;
exit 0;
}
$options{curvestyleall} = '' unless defined $options{curvestyleall};