From 7c159449910d5c6fe2f4fea7416fed8a8ba2d4db Mon Sep 17 00:00:00 2001
From: Mike McQuaid
Date: Sun, 15 Jan 2017 02:25:51 -0800
Subject: [PATCH] Fix documentation for HEAD upgrades.
These can now be done with just `brew upgrade`, like other upgrades.
Fixes #1818.
---
Library/Homebrew/cmd/install.rb | 3 ---
docs/brew.1.html | 5 +----
manpages/brew.1 | 3 ---
3 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 6f578caf63..fbfe46e71b 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -44,9 +44,6 @@
#: If `--keep-tmp` is passed, the temporary files created during installation
#: are not deleted.
#:
-#: To install a newer version of HEAD use
-#: `brew rm && brew install --HEAD `.
-#:
#: * `install` `--interactive` [`--git`] :
#: Download and patch , then open a shell. This allows the user to
#: run `./configure --help` and otherwise determine how to turn the software
diff --git a/docs/brew.1.html b/docs/brew.1.html
index ba65157cb9..9cc52a1310 100644
--- a/docs/brew.1.html
+++ b/docs/brew.1.html
@@ -196,10 +196,7 @@ for installation.
aka master, trunk, unstable.
If --keep-tmp is passed, the temporary files created during installation
-are not deleted.
-
-To install a newer version of HEAD use
-brew rm <foo> && brew install --HEAD <foo>.
+are not deleted.
install --interactive [--git] formulaDownload and patch formula, then open a shell. This allows the user to
run ./configure --help and otherwise determine how to turn the software
package into a Homebrew formula.
diff --git a/manpages/brew.1 b/manpages/brew.1
index aa1d1c1d00..1dfb242444 100644
--- a/manpages/brew.1
+++ b/manpages/brew.1
@@ -258,9 +258,6 @@ If \fB\-\-HEAD\fR is passed, and \fIformula\fR defines it, install the HEAD vers
.IP
If \fB\-\-keep\-tmp\fR is passed, the temporary files created during installation are not deleted\.
.
-.IP
-To install a newer version of HEAD use \fBbrew rm && brew install \-\-HEAD \fR\.
-.
.TP
\fBinstall\fR \fB\-\-interactive\fR [\fB\-\-git\fR] \fIformula\fR
Download and patch \fIformula\fR, then open a shell\. This allows the user to run \fB\./configure \-\-help\fR and otherwise determine how to turn the software package into a Homebrew formula\.