From 4d77d6dcdca6c9b24bc6a0b4522a3e5403a154c6 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 17 Jan 2011 01:00:56 -0800 Subject: [PATCH] --help now exits successfully --- feedGnuplot.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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};