aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-13 06:43:04 -0700
committerAdam Vandenberg2010-10-13 06:43:04 -0700
commit1ea8e899f927872f26413a8d5cee16b9a7cee64d (patch)
tree222ed44bcd4f226fcca124af9cfc8780a544815a
parent57bcdac210b7610acaa60435d3a6e889c58532ae (diff)
downloadhomebrew-1ea8e899f927872f26413a8d5cee16b9a7cee64d.tar.bz2
Document brew install --force --HEAD
-rw-r--r--Library/Contributions/manpages/brew.1.md4
-rw-r--r--share/man/man1/brew.12
2 files changed, 5 insertions, 1 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index c6e046412..e2d9fa4e5 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -61,6 +61,10 @@ didn't include with OS X.
If `--HEAD` is passed, and <formula> defines it, install the HEAD version,
aka master, trunk, unstable, dev.
+ To install a newer version of HEAD use
+ `brew rm <foo> && brew install --HEAD <foo>`
+ or `brew --force --HEAD <foo>`.
+
* `install --interactive [--git]` <formula>:
Downloads and patches <formula>, and then opens a shell. This allows the
user to run `./configure --help` and otherwise determine how to turn the
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 7a6dedf42..eb5716718 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -60,7 +60,7 @@ If \fB\-\-use\-llvm\fR is passed, attempt to compile using the LLVM front\-end t
If \fB\-\-ignore\-dependencies\fR is passed, skip installing any dependencies of any kind\. If they are not already present, the formula will probably fail to install\.
.
.IP
-If \fB\-\-HEAD\fR is passed, and \fIformula\fR defines it, install the HEAD version, aka master, trunk, unstable, dev\.
+If \fB\-\-HEAD\fR is passed, and \fIformula\fR defines it, install the HEAD version, aka master, trunk, unstable, dev\. To install a newer version of HEAD, either \fBbrew rm <foo> && brew install \-\-HEAD <foo>\fR or \fBbrew \-\-force \-\-HEAD <foo>\fR\.
.
.TP
\fBinstall \-\-interactive [\-\-git]\fR \fIformula\fR