summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rwxr-xr-xvar6
1 files changed, 3 insertions, 3 deletions
diff --git a/var b/var
index faccefa..60f3b9b 100755
--- a/var
+++ b/var
@@ -2,7 +2,7 @@
require 'trollop'
-cfg = Trollop::options do
+conf = Trollop::options do
banner "stddev [-r <d>] < <one number per line>"
opt :round, "Number of digits after decimal point.", :type => :int, :default => -1
end
@@ -27,8 +27,8 @@ cached.each { |v|
var /= i.to_f
-if cfg[:round] >= 0
- puts var.round cfg[:round]
+if conf[:round] >= 0
+ puts var.round conf[:round]
else
puts var
end