Browse files

Fix generate usage argument order. Backported from trunk.

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 817ace4 commit 140e85c7246bf21613f6af1cee6d113dddfa552f Marcel Molina committed Aug 7, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails_generator/scripts.rb
View
2 railties/lib/rails_generator/scripts.rb
@@ -38,7 +38,7 @@ def run(args = [], runtime_options = {})
protected
# Override with your own script usage banner.
def banner
- "Usage: #{$0} [options] generator [args]"
+ "Usage: #{$0} generator [options] [args]"
end
def usage_message

0 comments on commit 140e85c

Please sign in to comment.