diff --git a/feedGnuplot.pl b/feedGnuplot.pl index 0e4fc3b..75c6392 100755 --- a/feedGnuplot.pl +++ b/feedGnuplot.pl @@ -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};