lib/veewee/cli.rb in veewee-0.3.6 vs lib/veewee/cli.rb in veewee-0.3.7

- old
+ new

@@ -28,10 +28,10 @@ # @param [String] usage Command usage, such as "mccloud NAME [--option]" # @param [String] description Description of the command shown during the # command listing. # @param [Hash] opts Other options (not gone into detail here, look at # the source instead). - def self.register(klass, name, usage, description, opts=nil) + def self.register(klass, name, usage, description, opts = nil) opts ||= {} if klass <= Command::GroupBase # A subclass of GroupBase is a subcommand, since it contains # many smaller commands within it.