Permalink
Browse files

adds USAGE to the generator generator USAGE (not sure this meta thing…

… is any good at 8:12 AM with little coffee)
  • Loading branch information...
1 parent 2c81a31 commit d125687b971f705b4fa2b3499c026458b42874fe @fxn fxn committed Aug 23, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 railties/lib/rails/generators/rails/generator/USAGE
@@ -1,11 +1,12 @@
Description:
- Stubs out a new generator at lib/generators. Pass the generator name, either
- CamelCased or under_scored, as an argument.
+ Stubs out a new generator at lib/generators. Pass the generator name as an argument,
+ either CamelCased or snake_cased, as an argument.
Example:
`rails generate generator Awesome`
creates a standard awesome generator:
lib/generators/awesome/
lib/generators/awesome/awesome_generator.rb
+ lib/generators/awesome/USAGE
lib/generators/awesome/templates/

0 comments on commit d125687

Please sign in to comment.