diff options
author | Xavier Noria <fxn@hashref.com> | 2010-08-23 08:12:32 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-23 09:40:27 +0200 |
commit | 28c8d17d287ee4768d5787d47ebd6a6a118f2613 (patch) | |
tree | 34f23c79761cfe139bad4554e49f945a6c8e5360 /railties | |
parent | cdef4450e550954a9f04255cb0b5cf80e52874fe (diff) | |
download | rails-28c8d17d287ee4768d5787d47ebd6a6a118f2613.tar.gz rails-28c8d17d287ee4768d5787d47ebd6a6a118f2613.tar.bz2 rails-28c8d17d287ee4768d5787d47ebd6a6a118f2613.zip |
adds USAGE to the generator generator USAGE (not sure this meta thing is any good at 8:12 AM with little coffee)
Diffstat (limited to 'railties')
-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/ |