X-Git-Url: http://git.shiar.net/barcat.git/blobdiff_plain/93df063b0375e15e3f545ede1b52ab70d90d8ea0..97da4d68eddd9d66e30a73978afe2ad2f08364a7:/barcat diff --git a/barcat b/barcat index 3df9408..144b624 100755 --- a/barcat +++ b/barcat @@ -111,7 +111,8 @@ $opt{'value-length'} = 1 if $opt{unmodified}; $opt{'signal-stat'} //= exists $SIG{INFO} ? 'INFO' : 'QUIT'; $opt{markers} //= '=avg >31.73v <68.27v +50v |0'; $opt{palette} //= $opt{color} && [31, 90, 32]; -$opt{input} = @ARGV && $ARGV[0] =~ m/\A[-0-9]/ ? \@ARGV : undef; +$opt{input} = @ARGV && $ARGV[0] =~ m/\A[-0-9]/ ? \@ARGV : undef + and undef $opt{interval}; my (@lines, @values, @order);