Document fetch --force

This commit is contained in:
Adam Vandenberg 2010-10-13 07:15:23 -07:00
parent 739f96843a
commit d8e3640e1e
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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\.
.