aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-13 07:15:23 -0700
committerAdam Vandenberg2010-10-13 07:17:23 -0700
commitd8e3640e1e5d788d7ad69b2a55fbd1026704a641 (patch)
treec3ca96fa80dbbdfff6030d94d68f8a0a83282793
parent739f96843aae1e11ab7ffeddfa401752cbda12a8 (diff)
downloadbrew-d8e3640e1e5d788d7ad69b2a55fbd1026704a641.tar.bz2
Document fetch --force
-rw-r--r--Library/Contributions/manpages/brew.1.md4
-rw-r--r--share/man/man1/brew.15
2 files changed, 7 insertions, 2 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index cbae9bc8f..815492652 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -167,7 +167,7 @@ didn't include with OS X.
Shows the git log for the given formulae. Options that `git log`
recognizes can be passed before the formula list.
- * `fetch [-v] [--HEAD]` <formula>:
+ * `fetch [--force] [-v] [--HEAD]` <formula>:
Downloads the tarball or checks out from VCS for the given <formula>. For
tarballs, also prints MD5 and SHA1 checksums.
@@ -175,6 +175,8 @@ didn't include with OS X.
may also be passed to make the VCS checkout verbose, useful for seeing if
an existing HEAD cache has been updated.
+ If `--force` is passed, remove a previously cached version and re-fetch.
+
## EXTERNAL COMMANDS
Homebrew allows external commands to be defined by putting a +x file named
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 3a15e55e8..50a71328b 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -178,12 +178,15 @@ Using Git, fetches the newest version of Homebrew from the GitHub repository\.
Shows the git log for the given formulae\. Options that \fBgit log\fR recognizes can be passed before the formula list\.
.
.TP
-\fBfetch [\-v] [\-\-HEAD]\fR \fIformula\fR
+\fBfetch [\-\-force] [\-v] [\-\-HEAD]\fR \fIformula\fR
Downloads the tarball or checks out from VCS for the given \fIformula\fR\. For tarballs, also prints MD5 and SHA1 checksums\.
.
.IP
If \fB\-\-HEAD\fR is passed, download the HEAD version of \fIformula\fR instead\. \fB\-v\fR may also be passed to make the VCS checkout verbose, useful for seeing if an existing HEAD cache has been updated\.
.
+.IP
+If \fB\-\-force\fR is passed, remove a previously cached version and re\-fetch\.
+.
.SH "EXTERNAL COMMANDS"
Homebrew allows external commands to be defined by putting a +x file named \fBbrew\-<cmdname>\fR or \fBbrew\-<cmdname>\.rb\fR on the PATH\. This will cause Homebrew to recognize \fBbrew cmdname\fR\.
.