    # File lib/rubygems/commands/rdoc_command.rb, line 10
          def initialize
            super('rdoc',
              'Generates RDoc for pre-installed gems',
              {
                :version => Gem::Requirement.default,
                :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
          end