lib/bigfiles/option_parser.rb in bigfiles-0.2.2 vs lib/bigfiles/option_parser.rb in bigfiles-0.3.0
- old
+ new
@@ -40,11 +40,10 @@
options = nil
@option_parser_class.new do |opts|
options = setup_options(opts)
@option_parser = opts
end.parse!(args)
- Config.new(**options,
- source_finder_option_parser: @source_finder_option_parser)
+ options
end
def usage
@io_class.puts @option_parser
@exiter.exit(1)