class Rails::Generators::Base

def self.class_option(name, options={}) #:nodoc:

:nodoc:
Make class option aware of Rails::Generators.options and Rails::Generators.aliases.
def self.class_option(name, options={}) #:nodoc:
  options[:desc]    = "Indicates when to generate #{name.to_s.humanize.downcase}" unless options.key?(:desc)
  options[:aliases] = default_aliases_for_option(name, options)
  options[:default] = default_value_for_option(name, options)
  super(name, options)
end