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.

incorrect message on a "rails destroy" command invocation?

#6415

I created an incorrect migration. I tried:

rails destroy migration.

It prints:

Usage:
  rails generate migration NAME [field:type field:type] [options]


Options: -o, --orm=NAME # Orm to be invoked

              # Default: active_record



Runtime options: -f, [--force] # Overwrite files that already exist -p, [--pretend] # Run but do not make any changes -q, [--quiet] # Supress status output -s, [--skip] # Skip files that already exist
Description:
Create rails files for migration generator.</code>



This looks like a message for "generate".
Also, wouldn't it help if this message showed me the list of migrations created and asked me to pick the one I want to delete?

Reported by Kedar Mhaswade · February 11th, 2011 @ 07:40 PM

State: new
Milestone: none
Assigned to: nobody
Importance: none