summaryrefslogtreecommitdiff
path: root/avg-weights
diff options
context:
space:
mode:
Diffstat (limited to 'avg-weights')
-rwxr-xr-xavg-weights4
1 files changed, 2 insertions, 2 deletions
diff --git a/avg-weights b/avg-weights
index 36b051a..f090da9 100755
--- a/avg-weights
+++ b/avg-weights
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
require 'zipf'
-require 'trollop'
+require 'optimist'
require 'zlib'
-conf = Trollop::options do
+conf = Optimist::options do
opt :weights_files, "a number of weights files: name value", :required => true
opt :filter, "Filter if key does not appear in every file.", :type => :bool, :default => false
end