From e1add6c5e2d2a63d2ae9b38d2ddaf6eeace01e52 Mon Sep 17 00:00:00 2001 From: Arthur Chiu Date: Tue, 7 Jun 2011 19:34:39 -0700 Subject: [PATCH] revert last commit :( --- padrino-core/lib/padrino-core/cli/base.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/padrino-core/lib/padrino-core/cli/base.rb b/padrino-core/lib/padrino-core/cli/base.rb index e4544347a..a54bdd9c3 100644 --- a/padrino-core/lib/padrino-core/cli/base.rb +++ b/padrino-core/lib/padrino-core/cli/base.rb @@ -88,12 +88,12 @@ def generate(*args) desc "g", "Executes the Padrino generator with given options." def g - invoke :generate + invoke(:generate, *args) end desc "gen", "Executes the Padrino generator with given options." - def gen - invoke :generate + def gen(*args) + invoke(:generate, *args) end desc "version", "Show current Padrino Version"