diff options
| author | Misty De Meo | 2014-02-09 13:27:56 -0800 | 
|---|---|---|
| committer | Misty De Meo | 2014-02-09 15:44:49 -0800 | 
| commit | c32ab0a35a2dfa9b593f759ef0ae8b7af077b0b7 (patch) | |
| tree | 4e285722fcbaa80ccdb91f33755df6f5a04fcf25 /Library/Homebrew/cmd/install.rb | |
| parent | 2975c029e9a15ef5858718f74cdd421d51c04a5b (diff) | |
| download | homebrew-c32ab0a35a2dfa9b593f759ef0ae8b7af077b0b7.tar.bz2 | |
Recognize --head as an alias for --HEAD
Homebrew currently recognizes "--head" during the install process, but
rather than actually fetch HEAD it just nags the user to use the
correct option.	Since we recognize the spelling anyway, this just
promotes the lowercase version to an official alias.
Closes #26555.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 4 | 
1 files changed, 0 insertions, 4 deletions
| diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 4e1705c74..468eb3d37 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -19,10 +19,6 @@ module Homebrew extend self        end      end -    if ARGV.include? '--head' -      raise "Specify `--HEAD` in uppercase to build from trunk." -    end -      ARGV.named.each do |name|        # if a formula has been tapped ignore the blacklisting        if not File.file? HOMEBREW_REPOSITORY/"Library/Formula/#{name}.rb" | 
