diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index dd174085fc..89d73f612c 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -233,6 +233,11 @@ For the full command list, see the COMMANDS section. If `--installed` is passed, only lists installed formulae. + * `which` []: + List versions of installed brews. + + If are given, only list versions for the specified brews. + * `--cache`: Display Homebrew's download cache. *Default:* `~/Library/Cache/Homebrew` diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 305a630162..896e741051 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -260,6 +260,13 @@ Show the formulas that specify \fIformula\fR as a dependency\. The list is not r If \fB\-\-installed\fR is passed, only lists installed formulae\. . .TP +\fBwhich\fR [\fIformulae\fR] +List versions of installed brews\. +. +.IP +If \fIformulae\fR are given, only list versions for the specified brews\. +. +.TP \fB\-\-cache\fR Display Homebrew\'s download cache\. \fIDefault:\fR \fB~/Library/Cache/Homebrew\fR .