class Thor::Options
def initialize(options={})
Takes a hash of Thor::Option objects.
def initialize(options={}) options = options.values super(options) @shorts, @switches = {}, {} options.each do |option| @switches[option.switch_name] = option option.aliases.each do |short| @shorts[short.to_s] ||= option.switch_name end end end