aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-13 07:15:23 -0700
committerAdam Vandenberg2010-10-13 07:17:23 -0700
commit47e6cdbabfe45b9afa7532e03ec4be7def225fff (patch)
treeeeffa4b21cd5c18a5d88fcef14ed868f3466dff1
parent88e193f2c4f2e21b5ed7affb0b1700d6fbd34dbd (diff)
downloadhomebrew-47e6cdbabfe45b9afa7532e03ec4be7def225fff.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\.
.