From bd84f0f2f1eb693ebdf56b92e2aae67cd785d7ce Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 5 Aug 2019 11:28:24 +0200 Subject: trollop -> optimist --- shard | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shard') diff --git a/shard b/shard index 6155123..5294afd 100755 --- a/shard +++ b/shard @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require 'trollop' +require 'optimist' def make_shards(input, refs, alignments, output_prefix, num_shards=2, rand=false) lc = `wc -l #{input}`.split.first.to_i @@ -67,7 +67,7 @@ def make_shards(input, refs, alignments, output_prefix, num_shards=2, rand=false return [in_fns, refs_fns] end -opts = Trollop::options do +opts = Optimist::options do opt :input, 'input', :type => :string, :required => true opt :references, 'references', :type => :string, :required => true opt :alignments, 'alignments', :type => :string, :required => true -- cgit v1.2.3