This project is archived and is in readonly mode.
Rails3 beta rails generate -h does nothing, though should generate help message according to usage
Reported by MOE | February 6th, 2010 @ 06:45 AM
Well, may be not should, but nice to have definitely, since the first thing to do when trying things out is to see the list of generators etc, so rails generate -h seems to be a natural choice for such a usecase...
moe@ingrid:/tmp/tryout$ rails generate -h
Could not find generator -h.
moe@ingrid:/tmp/tryout$ rails generate
Usage: rails generate GENERATOR [args] [options]
General options:
-h, [--help] # Print generators options and usage
(skipped)
Comments and changes to this ticket
-
Rohit Arondekar October 7th, 2010 @ 11:11 AM
- State changed from new to invalid
- Importance changed from to Low
It works now.
~/bugmash/app९ rails g -h Usage: rails generate GENERATOR [args] [options] General options: -h, [--help] # Print generator's options and usage -p, [--pretend] # Run but do not make any changes -f, [--force] # Overwrite files that already exist -s, [--skip] # Skip files that already exist -q, [--quiet] # Suppress status output Please choose a generator below. Rails: controller generator helper integration_test mailer migration model observer performance_test plugin resource scaffold scaffold_controller session_migration stylesheets
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>