Permalink
Browse files

Use the correct generator name in the docs (closes #9111) [ceefour]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 82c1fed commit f65c20241608a716a024b58ed95bd82b0adad588 @dhh dhh committed Sep 25, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails_generator/generators/components/model/model_generator.rb
View
2 railties/lib/rails_generator/generators/components/model/model_generator.rb
@@ -29,7 +29,7 @@ def manifest
protected
def banner
- "Usage: #{$0} generate ModelName [field:type, field:type]"
+ "Usage: #{$0} #{spec.name} ModelName [field:type, field:type]"
end
def add_options!(opt)

0 comments on commit f65c202

Please sign in to comment.