bin/oddb2xml in oddb2xml-1.0.3 vs bin/oddb2xml in oddb2xml-1.0.4
- old
+ new
@@ -7,12 +7,14 @@
require 'oddb2xml'
# TODO: Parse option
args = ARGV.dup
-opts = {}
+opts = {
+ :compress => nil
+}
if args == ['-c', 'tar.gz']
- opts = {:compress => 'tar.gz'}
+ opts[:compress] = 'tar.gz'
args = {}
end
ui = Oddb2xml::Cli.new(opts)
unless args.empty?