class Optimist::CommandlineError

# you’re using the Optimist::options entry.
# Thrown by Parser in the event of a commandline error. Not needed if

def initialize(msg, error_code = nil)

def initialize(msg, error_code = nil)
  super(msg)
  @error_code = error_code
end