This project is archived and is in readonly mode.
Add missing -h/--help flag to several rails command
Reported by Prem Sichanugrist (sikachu) | February 9th, 2010 @ 02:15 PM | in 3.0.2
I just realize there're severals rails command that doesn't print help or usage message on calling -h/--help. This patch will make those commands print out usage when calling with -h/--help
Those commands I found are:
* rails generate -h / rails generate --help
* rails destroy -h / rails destroy --help
* rails benchmarker -h / rails benchmarker --help
* rails profiler -h / rails profiler --help
I also update rails console -h
to print out
description of --irb
as deprecated, since if you
called rails console -h
, --irb
description would be left blank.
Sikachus-Notebook:test_edge sikachu$ rails console -h
Usage: console [environment] [options]
-s, --sandbox Rollback database modifications on exit.
--debugger Enable ruby-debugging for the console.
--irb
Comments and changes to this ticket
-
Repository February 10th, 2010 @ 07:17 AM
(from [af22c5b16a0f138969221e5a17fc159efb5ae347]) Add missing -h/--help flag to several rails command [#3909 status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/af22c5b16a0f138969221e5a17fc15... -
Prem Sichanugrist (sikachu) February 10th, 2010 @ 07:21 AM
- State changed from open to resolved
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Medium
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>
People watching this ticket
Attachments
Tags
Referenced by
- 3909 Add missing -h/--help flag to several rails command (from [af22c5b16a0f138969221e5a17fc159efb5ae347]) Add mis...