class Bundler::Thor::Options

def current_is_switch_formatted?

def current_is_switch_formatted?
  return false if @is_treated_as_value
  case peek
  when LONG_RE, SHORT_RE, EQ_RE, SHORT_NUM, SHORT_SQ_RE
    true
  else
    false
  end
end