bin/kumogata in kumogata-0.2.12 vs bin/kumogata in kumogata-0.2.13

- old
+ new

@@ -3,18 +3,18 @@ require 'rubygems' require 'kumogata' options = nil -begin - parsed = Kumogata::ArgumentParser.parse! {|parser, cmd, args, opts| - if (opts.access_key_id? and not opts.secret_access_key?) or - (not opts.access_key_id? and opts.secret_access_key?) - puts parser.help - exit 1 - end - } +parsed = Kumogata::ArgumentParser.parse! {|parser, cmd, args, opts| + if (opts.access_key_id? and not opts.secret_access_key?) or + (not opts.access_key_id? and opts.secret_access_key?) + puts parser.help + exit 1 + end +} +begin command, arguments, options = parsed aws_opts = {} [:access_key_id, :secret_access_key, :region].each do |key|