diff options
Diffstat (limited to 'railties/lib/generators/rails/generator')
-rw-r--r-- | railties/lib/generators/rails/generator/USAGE | 2 | ||||
-rw-r--r-- | railties/lib/generators/rails/generator/templates/USAGE.tt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/generators/rails/generator/USAGE b/railties/lib/generators/rails/generator/USAGE index ca7d3f62d0..d8c3f7f634 100644 --- a/railties/lib/generators/rails/generator/USAGE +++ b/railties/lib/generators/rails/generator/USAGE @@ -3,7 +3,7 @@ Description: CamelCased or under_scored, as an argument. Example: - `./script/generate generator Awesome` + `rails generate generator Awesome` creates a standard awesome generator: lib/generators/awesome/ diff --git a/railties/lib/generators/rails/generator/templates/USAGE.tt b/railties/lib/generators/rails/generator/templates/USAGE.tt index ea9f4f12cc..1bb8df840d 100644 --- a/railties/lib/generators/rails/generator/templates/USAGE.tt +++ b/railties/lib/generators/rails/generator/templates/USAGE.tt @@ -2,7 +2,7 @@ Description: Explain the generator Example: - ./script/generate <%= file_name %> Thing + rails generate <%= file_name %> Thing This will create: what/will/it/create |