summaryrefslogtreecommitdiff
path: root/avg
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2019-07-28 16:39:21 +0200
committerPatrick Simianer <pks@pks.rocks>2019-07-28 16:39:21 +0200
commit71278b098dcea1a5fb8520ab08b086cded0764fe (patch)
treea9383ace41f49f7fda084756a0890bd976a6abb0 /avg
parent1fd4762a41cf84d9b6ebe9ed4dcf83cde78f61d3 (diff)
trollop -> optimist
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