public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/josh/rails.git
Search Repo:
Fixed -h/--help for generate and destroy generators #331

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@832 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Sun Mar 06 03:42:17 -0800 2005
commit  db41d2dd5c738ca44a07330cf02e9d817fedc34c
tree    9715f9041c169e56ec2124e5e7cee93c78ef06b6
parent  5da277b182604cef0ea68f79462568cb52af6706
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 *SVN*
0
 
0
+* Fixed -h/--help for generate and destroy generators #331
0
+
0
 * Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)
0
 
0
 * Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]
...
2
3
4
 
 
5
...
2
3
4
5
6
7
0
@@ -2,4 +2,6 @@
0
 require File.dirname(__FILE__) + '/../config/environment'
0
 require 'rails_generator'
0
 require 'rails_generator/scripts/destroy'
0
+
0
+ARGV.shift if ['--help', '-h'].include?(ARGV[0])
0
 Rails::Generator::Scripts::Destroy.new.run(ARGV)
...
2
3
4
 
 
5
...
2
3
4
5
6
7
0
@@ -2,4 +2,6 @@
0
 require File.dirname(__FILE__) + '/../config/environment'
0
 require 'rails_generator'
0
 require 'rails_generator/scripts/generate'
0
+
0
+ARGV.shift if ['--help', '-h'].include?(ARGV[0])
0
 Rails::Generator::Scripts::Generate.new.run(ARGV)

Comments

    No one has commented yet.