From 71278b098dcea1a5fb8520ab08b086cded0764fe Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 28 Jul 2019 16:39:21 +0200 Subject: trollop -> optimist --- min-max | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'min-max') diff --git a/min-max b/min-max index 1dbfd40..f6c8d00 100755 --- a/min-max +++ b/min-max @@ -1,9 +1,9 @@ #!/usr/bin/ruby require 'zipf' -require 'trollop' +require 'optimist' -conf = Trollop::options do +conf = Optimist::options do opt :min, "minimum #tokens", :type => :int, :default => 1 opt :max, "maximum #tokens", :type => :int, :default => 80, :short => '-n' opt :in_f, "input 'French' file", :type => :string, :required => true -- cgit v1.2.3