mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-06 06:21:16 +08:00
--help now exits successfully
This commit is contained in:
parent
a1fd8b11f2
commit
4d77d6dcdc
@ -191,7 +191,8 @@ GetOptions(\%options,
|
|||||||
# handle various cmdline-option errors
|
# handle various cmdline-option errors
|
||||||
if( $options{help} )
|
if( $options{help} )
|
||||||
{
|
{
|
||||||
die($usage);
|
say STDERR $usage;
|
||||||
|
exit 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$options{curvestyleall} = '' unless defined $options{curvestyleall};
|
$options{curvestyleall} = '' unless defined $options{curvestyleall};
|
||||||
|
Loading…
Reference in New Issue
Block a user