bin/padrino-gen in padrino-gen-0.5.0 vs bin/padrino-gen in padrino-gen-0.6.1
- old
+ new
@@ -5,12 +5,11 @@
Padrino::Generators::Base.start(ARGV)
Padrino::Generators.lockup!
generator_kind = ARGV.delete_at(0).to_s.downcase.to_sym if ARGV[0].present?
generator_class = Padrino::Generators.mappings[generator_kind]
-arguments = ARGV.any? ? ARGV : ['-h']
if generator_class
- generator_class.start(arguments)
+ generator_class.start(ARGV)
else
puts "Please specify generator to use (#{Padrino::Generators.mappings.keys.join(", ")})"
end
\ No newline at end of file