class YARD::CLI::Display

def parse_arguments(*args)

Parameters:
  • args (Array) -- each tokenized argument
def parse_arguments(*args)
  opts = OptionParser.new
  opts.banner = "Usage: yard display [options] OBJECT [OTHER OBJECTS]"
  general_options(opts)
  output_options(opts)
  parse_options(opts, args)
  Registry.load
  @objects = args.map {|o| Registry.at(o) }
  # validation
  return false if @objects.any?(&:nil?)
  verify_markup_options
end