class Thor::Options

def names_to_switch_names(names = [])

Option names changes to swith name or human name
def names_to_switch_names(names = [])
  @switches.map do |_, o|
    if names.include? o.name
      o.respond_to?(:switch_name) ? o.switch_name : o.human_name
    else
      nil
    end
  end.compact
end