When plotting histograms, --xlen can coexist with --xmin/--xmax

This commit is contained in:
Dima Kogan 2017-02-09 19:12:18 -08:00
parent 402fa32bda
commit 64b12e4738

View File

@ -387,7 +387,8 @@ sub interpretCommandline
} }
if($options{stream} && defined $options{xlen} && if($options{stream} && defined $options{xlen} &&
( defined $options{xmin} || defined $options{xmax})) ( defined $options{xmin} || defined $options{xmax}) &&
!defined $options{histogram})
{ {
print STDERR "With --stream and --xlen the X bounds are set, so neither --xmin nor --xmax make sense\n"; print STDERR "With --stream and --xlen the X bounds are set, so neither --xmin nor --xmax make sense\n";
exit -1; exit -1;