lib/ggem/cli/commands.rb in ggem-1.9.0 vs lib/ggem/cli/commands.rb in ggem-1.9.1

- old
+ new

@@ -390,10 +390,10 @@ def add(klass, name, *aliases) begin cmd = klass.new rescue StandardError => err - # don"t add any commands you can't init + # don't add any commands you can't init else ([name] + aliases).each{ |n| @lookup[n] = cmd } @to_s = nil @names << name @aliases[name] = aliases.empty? ? "" : "(#{aliases.join(", ")})"