summaryrefslogtreecommitdiff
path: root/add-seg
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 /add-seg
parent1fd4762a41cf84d9b6ebe9ed4dcf83cde78f61d3 (diff)
trollop -> optimist
Diffstat (limited to 'add-seg')
-rwxr-xr-xadd-seg4
1 files changed, 2 insertions, 2 deletions
diff --git a/add-seg b/add-seg
index e5db580..14b8b6b 100755
--- a/add-seg
+++ b/add-seg
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
-require 'trollop'
+require 'optimist'
require 'zipf'
-o = Trollop::options do
+o = Optimist::options do
opt :grammar, "(Absolute) path of folder containing grammars.", :type => :string, :short => '-g', :default => nil
opt :loo, "leave one out", :type => :bool, :default => false
opt :start_id, "start with this id", :type => :int, :default => 0, :short => '-i'