[feedgnuplot] 27/42: '--stream --hardcopy' is now an error, not a warning

Dima Kogan dkogan-guest at alioth.debian.org
Sun Oct 20 08:04:08 UTC 2013


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

dkogan-guest pushed a commit to tag v1.25
in repository feedgnuplot.

commit 669fb8dee68bdd8374fe81d14a90f0b5f57879c9
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sat Oct 19 19:01:59 2013 -0700

    '--stream --hardcopy' is now an error, not a warning
---
 bin/feedgnuplot |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index 3fe20e9..3ac770a 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -163,8 +163,8 @@ sub interpretCommandline
 
   if ( defined $options{hardcopy} && defined $options{stream} )
   {
-    print STDERR "Warning: since we're making a hardcopy, I'm disabling streaming\n";
-    delete $options{stream};
+    print STDERR "--stream doesn't make sense together with --hardcopy\n";
+    exit -1;
   }
 
   # parse stream option. Allowed only numbers >= 0 or 'trigger'. After this code

-- 
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