Permalink
Browse files

Include field:type option for models

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent c16a437 commit f1a2dee97659b616e59a2a9193f49b3b56fcd1f9 @dhh dhh committed Oct 9, 2006
@@ -25,6 +25,10 @@ def manifest
end
protected
+ def banner
+ "Usage: #{$0} generate ModelName [field:type, field:type]"
+ end
+
def add_options!(opt)
opt.separator ''
opt.separator 'Options:'
@@ -75,7 +75,6 @@ def manifest
end
protected
- # Override with your own usage banner.
def banner
"Usage: #{$0} resource ModelName [field:type, field:type]"
end

0 comments on commit f1a2dee

Please sign in to comment.