class ROTP::Arguments

def parse

def parse
  return options!.mode = :help if arguments.empty?
  parser.parse arguments
rescue OptionParser::InvalidOption => exception
  options!.mode = :help
  options!.warnings = red(exception.message + '. Try --help for help.')
end