# File lib/rubygems/gem_commands.rb, line 1198
    def initialize
      super('rdoc',
        'Generates RDoc for pre-installed gems',
        {
          :version => "> 0.0.0",
          :include_rdoc => true,
          :include_ri => true,
        })
      add_option('--all',
                 'Generate RDoc/RI documentation for all',
                 'installed gems') do |value, options|
        options[:all] = value
      end
      add_option('--[no-]rdoc', 
        'Include RDoc generated documents') do
        |value, options|
        options[:include_rdoc] = value
      end
      add_option('--[no-]ri', 
        'Include RI generated documents'
        ) do |value, options|
        options[:include_ri] = value
      end
      add_version_option('rdoc')
    end