# File lib/yard/cli/yardoc.rb, line 230
      def parse_arguments(*args)
        options[:markup] = nil # reset markup
        
        # Hack: parse out --no-yardopts, --no-document before parsing files
        ['document', 'yardopts'].each do |file|
          without, with = args.index("--no-#{file}") || -2, args.index("--#{file}") || -1
          send("use_#{file}_file=", false) if without > with
        end

        # Parse files and then command line arguments
        optparse(*support_rdoc_document_file!) if use_document_file
        optparse(*yardopts) if use_yardopts_file
        optparse(*args)

        # Last minute modifications
        self.files = ['lib/**/*.rb', 'ext/**/*.c'] if self.files.empty?
        self.files.delete_if {|x| x =~ /\A\s*\Z/ } # remove empty ones
        options[:readme] ||= Dir.glob('README*').first
        if options[:onefile]
          options[:files] << options[:readme] if options[:readme]
          options[:readme] = Dir.glob(files.first).first 
        end
        Tags::Library.visible_tags -= hidden_tags
        add_visibility_verifier
        
        if generate && !verify_markup_options
          false
        else
          true
        end
      end