mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Added support for a -h/--help parameter in the generator #331 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Added support for a -h/--help parameter in the generator #331 [Ulysses]
|
||||
|
||||
* File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin].
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
require File.dirname(__FILE__) + '/../config/environment'
|
||||
require 'rails_generator'
|
||||
|
||||
ARGV.shift unless ARGV.empty? or not ['--help', '-h'].include?(ARGV[0])
|
||||
|
||||
unless ARGV.empty?
|
||||
begin
|
||||
name = ARGV.shift
|
||||
|
||||
Reference in New Issue
Block a user