Support for the Ruby 2.2 series has ended. See here for reference.

In Files

  • optparse.rb

OptionParser::InvalidOption

Raises when switch is undefined.