my $filename = shift;
my $interval = shift;
my $rateNumber = shift;
- my $quite = shift;
+ my $quiet = shift;
my $trb = $cts->getTrb;
my @rateRegs = ();
'-'
];
- print chr(27) . "[1;1H" . chr(27) . "[2J" unless $quite;
+ print chr(27) . "[1;1H" . chr(27) . "[2J" unless $quiet;
my $read = {};
$trb->prefetch(1);
}
}
- unless ($quite) {
+ unless ($quiet) {
printTable $tab;
print "\n";
}
}
}
- printTable $tab unless $quite;
+ printTable $tab unless $quiet;
if ($filename) {
# store json
EOF
;
- print "Plot produced\n";
+ print $quiet ? "." : "Plot produced\n";
} else {
print "Plotting delayed as to few points captured yet\n";
}