diff options
Diffstat (limited to 'railties/bin')
-rwxr-xr-x | railties/bin/generate | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/bin/generate b/railties/bin/generate index 8f2f1497d6..1588a306da 100755 --- a/railties/bin/generate +++ b/railties/bin/generate @@ -2,6 +2,8 @@ require File.dirname(__FILE__) + '/../config/environment' require 'rails_generator' +ARGV.shift unless ARGV.empty? or not ['--help', '-h'].include?(ARGV[0]) + unless ARGV.empty? begin name = ARGV.shift |