summaryrefslogtreecommitdiff
path: root/avg
diff options
context:
space:
mode:
Diffstat (limited to 'avg')
-rwxr-xr-xavg4
1 files changed, 2 insertions, 2 deletions
diff --git a/avg b/avg
index db5035a..5d32bb8 100755
--- a/avg
+++ b/avg
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
-require 'trollop'
+require 'optimist'
-conf = Trollop::options do
+conf = Optimist::options do
banner "avg < <one number per line>"
opt :round, "Number of digits after decimal point.", :type => :int, :default => -1
end