class Gem::OptionParser::Switch

def switch_name


Main name of the switch.
def switch_name
  (long.first || short.first).sub(/\A-+(?:\[no-\])?/, '')
end