'--stream --hardcopy' is now an error, not a warning

This commit is contained in:
Dima Kogan 2013-10-19 19:01:59 -07:00
parent deaa85dbd3
commit 669fb8dee6

View File

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