new (Gem::Commands::CheckCommand)

    # File lib/rubygems/commands/check_command.rb, line 9
      def initialize
        super 'check', 'Check installed gems',
              :verify => false, :alien => false

        add_option(      '--verify FILE',
                   'Verify gem file against its internal',
                   'checksum') do |value, options|
          options[:verify] = value
        end

        add_option('-a', '--alien', "Report 'unmanaged' or rogue files in the",
                   "gem repository") do |value, options|
          options[:alien] = true
        end

        add_option('-v', '--verbose', "Spew more words") do |value, options|
          options[:verbose] = true
        end

        add_option('-t', '--test', "Run unit tests for gem") do |value, options|
          options[:test] = true
        end

        add_version_option 'run tests for'
      end