man: Update manpages

This commit is contained in:
William Ma 2020-06-23 09:56:56 -04:00
parent efdf9ce1aa
commit cdcaa8b58c
2 changed files with 17 additions and 4 deletions

View File

@ -577,16 +577,21 @@ recommended dependency for their stable builds.
* `--HEAD`: * `--HEAD`:
Show usage of *`formula`* by HEAD builds. Show usage of *`formula`* by HEAD builds.
### `--cache` [*`options`*] [*`formula`*] ### `--cache` [*`options`*] [<formula/cask>]
Display Homebrew's download cache. See also `HOMEBREW_CACHE`. Display Homebrew's download cache. See also `HOMEBREW_CACHE`.
If *`formula`* is provided, display the file or directory used to cache *`formula`*. If <formula/cask> is provided, display the file or directory used to cache
<formula/cask>.
* `-s`, `--build-from-source`: * `-s`, `--build-from-source`:
Show the cache file used when building from source. Show the cache file used when building from source.
* `--force-bottle`: * `--force-bottle`:
Show the cache file used when pouring a bottle. Show the cache file used when pouring a bottle.
* `--formula`:
Show cache files for only formulae
* `--cask`:
Show cache files for only casks
### `--cellar` [*`formula`*] ### `--cellar` [*`formula`*]

View File

@ -749,11 +749,11 @@ Show usage of \fIformula\fR by development builds\.
\fB\-\-HEAD\fR \fB\-\-HEAD\fR
Show usage of \fIformula\fR by HEAD builds\. Show usage of \fIformula\fR by HEAD builds\.
. .
.SS "\fB\-\-cache\fR [\fIoptions\fR] [\fIformula\fR]" .SS "\fB\-\-cache\fR [\fIoptions\fR] [<formula/cask>]"
Display Homebrew\'s download cache\. See also \fBHOMEBREW_CACHE\fR\. Display Homebrew\'s download cache\. See also \fBHOMEBREW_CACHE\fR\.
. .
.P .P
If \fIformula\fR is provided, display the file or directory used to cache \fIformula\fR\. If <formula/cask> is provided, display the file or directory used to cache <formula/cask>\.
. .
.TP .TP
\fB\-s\fR, \fB\-\-build\-from\-source\fR \fB\-s\fR, \fB\-\-build\-from\-source\fR
@ -763,6 +763,14 @@ Show the cache file used when building from source\.
\fB\-\-force\-bottle\fR \fB\-\-force\-bottle\fR
Show the cache file used when pouring a bottle\. Show the cache file used when pouring a bottle\.
. .
.TP
\fB\-\-formula\fR
Show cache files for only formulae
.
.TP
\fB\-\-cask\fR
Show cache files for only casks
.
.SS "\fB\-\-cellar\fR [\fIformula\fR]" .SS "\fB\-\-cellar\fR [\fIformula\fR]"
Display Homebrew\'s Cellar path\. \fIDefault:\fR \fB$(brew \-\-prefix)/Cellar\fR, or if that directory doesn\'t exist, \fB$(brew \-\-repository)/Cellar\fR\. Display Homebrew\'s Cellar path\. \fIDefault:\fR \fB$(brew \-\-prefix)/Cellar\fR, or if that directory doesn\'t exist, \fB$(brew \-\-repository)/Cellar\fR\.
. .