class Thor::Options

def current_is_option?

def current_is_option?
  case peek
  when LONG_RE, SHORT_RE, EQ_RE, SHORT_NUM
    valid?($1)
  when SHORT_SQ_RE
    $1.split('').any? { |f| valid?("-#{f}") }
  end
end