aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-01-15 20:42:23 +0000
committerGitHub2017-01-15 20:42:23 +0000
commit8f88b4c8e6d6f307096f8b2f131c5eea858d74b5 (patch)
tree4abcc1e388cbe2458f535d6fb323679c856e3c8d
parent7f437b8360778fe7c4744be060f1123e849a25f6 (diff)
parent7c159449910d5c6fe2f4fea7416fed8a8ba2d4db (diff)
downloadbrew-8f88b4c8e6d6f307096f8b2f131c5eea858d74b5.tar.bz2
Merge pull request #1846 from MikeMcQuaid/fix-head-upgrade-man
Fix documentation for HEAD upgrades.
-rw-r--r--Library/Homebrew/cmd/install.rb3
-rw-r--r--docs/brew.1.html5
-rw-r--r--manpages/brew.13
3 files changed, 1 insertions, 10 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 6f578caf6..fbfe46e71 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 <foo> && brew install --HEAD <foo>`.
-#:
#: * `install` `--interactive` [`--git`] <formula>:
#: Download and patch <formula>, 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 ba65157cb..9cc52a131 100644
--- a/docs/brew.1.html
+++ b/docs/brew.1.html
@@ -196,10 +196,7 @@ for installation.</p>
aka master, trunk, unstable.</p>
<p>If <code>--keep-tmp</code> is passed, the temporary files created during installation
-are not deleted.</p>
-
-<p>To install a newer version of HEAD use
-<code>brew rm &lt;foo> &amp;&amp; brew install --HEAD &lt;foo></code>.</p></dd>
+are not deleted.</p></dd>
<dt><code>install</code> <code>--interactive</code> [<code>--git</code>] <var>formula</var></dt><dd><p>Download and patch <var>formula</var>, then open a shell. This allows the user to
run <code>./configure --help</code> and otherwise determine how to turn the software
package into a Homebrew formula.</p>
diff --git a/manpages/brew.1 b/manpages/brew.1
index aa1d1c1d0..1dfb24244 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 <foo> && brew install \-\-HEAD <foo>\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\.