diff --git a/docs/Manpage.md b/docs/Manpage.md index 0b746685a1..4371e5e04b 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -577,16 +577,21 @@ recommended dependency for their stable builds. * `--HEAD`: Show usage of *`formula`* by HEAD builds. -### `--cache` [*`options`*] [*`formula`*] +### `--cache` [*`options`*] [] Display Homebrew's download cache. See also `HOMEBREW_CACHE`. -If *`formula`* is provided, display the file or directory used to cache *`formula`*. +If is provided, display the file or directory used to cache +. * `-s`, `--build-from-source`: Show the cache file used when building from source. * `--force-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`*] diff --git a/manpages/brew.1 b/manpages/brew.1 index 49bf5bd86e..5e5f84e104 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -749,11 +749,11 @@ Show usage of \fIformula\fR by development builds\. \fB\-\-HEAD\fR Show usage of \fIformula\fR by HEAD builds\. . -.SS "\fB\-\-cache\fR [\fIoptions\fR] [\fIformula\fR]" +.SS "\fB\-\-cache\fR [\fIoptions\fR] []" Display Homebrew\'s download cache\. See also \fBHOMEBREW_CACHE\fR\. . .P -If \fIformula\fR is provided, display the file or directory used to cache \fIformula\fR\. +If is provided, display the file or directory used to cache \. . .TP \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 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]" Display Homebrew\'s Cellar path\. \fIDefault:\fR \fB$(brew \-\-prefix)/Cellar\fR, or if that directory doesn\'t exist, \fB$(brew \-\-repository)/Cellar\fR\. .