# File lib/optparse.rb, line 416 def switch_name (long.first || short.first).sub(/\A-+(?:\[no-\])?/, '') end