lib/mercenary/program.rb in mercenary-0.1.0 vs lib/mercenary/program.rb in mercenary-0.2.0
- old
+ new
@@ -44,9 +44,9 @@
@optparse.parse!(argv)
logger.debug("Parsed config: #{@config.inspect}")
- cmd.actions.each { |a| a.call(argv, @config) }
+ cmd.execute(argv, @config)
end
end
end