class Thor::Options

def assign_result!(option, result)

def assign_result!(option, result)
  if option.repeatable && option.type == :hash
    (@assigns[option.human_name] ||= {}).merge!(result)
  elsif option.repeatable
    (@assigns[option.human_name] ||= []) << result
  else
    @assigns[option.human_name] = result
  end
end