mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-06 06:21:16 +08:00
explicitly fail if we try --stream --xlen --xmin
This commit is contained in:
parent
756d934058
commit
3badf920b6
@ -276,6 +276,13 @@ sub interpretCommandline
|
|||||||
exit -1;
|
exit -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($options{stream} && $options{xlen} &&
|
||||||
|
( defined $options{xmin} || defined $options{xmax}))
|
||||||
|
{
|
||||||
|
print STDERR "With --stream and --xlen the X bounds are set, so neither --xmin nor --xmax make sense\n";
|
||||||
|
exit -1;
|
||||||
|
}
|
||||||
|
|
||||||
# --xlen implies an order to the data, so I force monotonicity
|
# --xlen implies an order to the data, so I force monotonicity
|
||||||
$options{monotonic} = 1 if defined $options{xlen};
|
$options{monotonic} = 1 if defined $options{xlen};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user