lib/cl/cmd.rb in cl-0.1.0 vs lib/cl/cmd.rb in cl-0.1.1

- old
+ new

@@ -88,9 +88,11 @@ def opts @opts ||= {} end def deprecated_opts - opts.keys & self.class.opts.deprecated + opts = self.class.opts.select(&:deprecated?) + opts = opts.select { |opt| self.opts.key?(opt.deprecated[0]) } + opts.map(&:deprecated) end end end