nferraz/st

Variance option

gbitten opened this issue · 0 comments

The variance command line option (-var) is not working, so I made this patch:

diff --git a/lib/App/St.pm b/lib/App/St.pm
index 622338d..cc1b57e 100644
--- a/lib/App/St.pm
+++ b/lib/App/St.pm
@@ -192,6 +192,7 @@ sub result {
         stderr     => $self->stderr(),
         min        => $self->min(),
         max        => $self->max(),
+        variance   => $self->variance(),
     );

     if ($self->{keep_data}) {