[feedgnuplot] 01/11: If the options couldn't be parsed I don't dump the whole manpage

Dima Kogan dima at secretsauce.net
Fri Nov 25 22:53:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to branch debian
in repository feedgnuplot.

commit b0877a89266f2497242f15c6452d2b27abc2c135
Author: Dima Kogan <dima at secretsauce.net>
Date:   Fri Nov 25 13:33:48 2016 -0800

    If the options couldn't be parsed I don't dump the whole manpage
---
 bin/feedgnuplot | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index d04626d..8965235 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -108,9 +108,7 @@ sub interpretCommandline
              'terminal=s',
              'rangesize=s{2}', 'rangesizeall=i', 'extraValuesPerPoint=i',
              'help', 'dump', 'exit', 'version',
-             'geometry=s') or pod2usage( -exitval => 1,
-                                         -verbose => 1, # synopsis and args
-                                         -output  => \*STDERR );
+             'geometry=s') or exit 1;
 
 
   # handle various cmdline-option errors

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feedgnuplot.git



More information about the debian-science-commits mailing list