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

        add_option('-v', '--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('-t', '--test', "Run unit tests for gem") do |value, options|
          options[:test] = true
        end

        add_option('-V', '--version',
                   "Specify version for which to run unit tests") do |value, options|
          options[:version] = value
        end
      end