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

In Files

  • optparse.rb

OptionParser::InvalidOption

Raises when switch is undefined.