diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/generator/USAGE | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/generator/USAGE b/railties/lib/rails/generators/rails/generator/USAGE index d68539e4a6..2ebc4d26c4 100644 --- a/railties/lib/rails/generators/rails/generator/USAGE +++ b/railties/lib/rails/generators/rails/generator/USAGE @@ -1,6 +1,6 @@ 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` @@ -8,4 +8,5 @@ Example: creates a standard awesome generator: lib/generators/awesome/ lib/generators/awesome/awesome_generator.rb + lib/generators/awesome/USAGE lib/generators/awesome/templates/ |