Skip to content

Commit

Permalink
When rails is invoked without args, be sure that help is called.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jun 19, 2009
1 parent 01cde13 commit 6619357
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions railties/bin/rails
Expand Up @@ -7,5 +7,7 @@ if %w(--version -v).include? ARGV.first
exit(0)
end

ARGV << "--help" if ARGV.empty?

require File.dirname(__FILE__) + '/../lib/generator/generators/app'
Rails::Generators::App.start

0 comments on commit 6619357

Please sign in to comment.