From 71278b098dcea1a5fb8520ab08b086cded0764fe Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 28 Jul 2019 16:39:21 +0200 Subject: trollop -> optimist --- inv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inv') diff --git a/inv b/inv index 50ad9cb..b13443f 100755 --- a/inv +++ b/inv @@ -1,9 +1,9 @@ #!/usr/bin/env ruby -require 'trollop' +require 'optimist' def main - conf = Trollop::options do + conf = Optimist::options do opt :only_low, "inverse only for values < 1.0", :type => :bool, :default => false, :short => "-l" opt :only_high, "inverse only for values > 1.0", :type => :bool, :default => false, :short => "-h" end -- cgit v1.2.3