Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Rails3 beta rails generate -h does nothing, though should generate help message according to usage

#3873

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)

Reported by MOE · February 6th, 2010 @ 06:45 AM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • 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
    

    October 7th, 2010 @ 11:11 AM