class YARD::CLI::Command

def parse_options(opts, args)

Returns:
  • (void) -

Parameters:
  • args (Array) -- the arguments passed from input. This
  • opts (OptionParser) -- the option parser object
def parse_options(opts, args)
  opts.parse!(args)
rescue OptionParser::ParseError => err
  unrecognized_option(err)
  args.shift if args.first && args.first[0, 1] != '-'
  retry
end