aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDan Martinez2015-05-05 15:29:01 -0700
committerMike McQuaid2015-09-08 15:23:37 +0100
commit837437416840d4c4f132b7e4ba2ea0fa2f861668 (patch)
treea05615c66686eb93cf7cea2b5d8eed66e82be4f2 /share
parentc4ceaabfc19bedc70be53f2df2be7546bb9286e8 (diff)
downloadbrew-837437416840d4c4f132b7e4ba2ea0fa2f861668.tar.bz2
Improve description searching and add a cache.
Closes Homebrew/homebrew#42281. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/brew.16
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index e05928583..0179f0ef4 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -128,6 +128,12 @@ If \fB\-\-installed\fR is passed, show dependencies for all installed formulae\.
By default, \fBdeps\fR shows dependencies for \fIformulae\fR\. To skip the \fB:build\fR type dependencies, pass \fB\-\-skip\-build\fR\. Similarly, pass \fB\-\-skip\-optional\fR to skip \fB:optional\fR dependencies\.
.
.IP "\(bu" 4
+\fBdesc\fR \fIformula\fR: Display \fIformula\fR\'s name and one\-line description\.
+.
+.IP "\(bu" 4
+\fBdesc [\-s|\-n|\-d] <pattern>\fR: Search both name and description (\fB\-s\fR), just the names (\fB\-n\fR), or just the descriptions (\fB\-d\fR) for \fB<pattern>\fR\. \fB<pattern>\fR is by default interpreted as a literal string; if flanked by slashes, it is instead interpreted as a regular expression\. Formula descriptions are cached; the cache is created on the first search, making that search slower than subsequent ones\.
+.
+.IP "\(bu" 4
\fBdiy [\-\-name=<name>] [\-\-version=<version>]\fR: Automatically determine the installation prefix for non\-Homebrew software\.
.
.IP