From fcd75877c56428e889756b847bcde5cd2f6b6afe Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 19 Jun 2018 13:48:23 +0200 Subject: [PATCH] Update `brew search` help. --- Library/Homebrew/cmd/search.rb | 6 +++--- docs/Manpage.md | 6 +++--- manpages/brew.1 | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 3914b455a5..5459a5b83c 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -5,10 +5,10 @@ #: * `search` [`--desc`] (|`/``/`): #: Perform a substring search of formula names for . If is #: surrounded with slashes, then it is interpreted as a regular expression. -#: The search for is extended online to some popular taps. +#: The search for is extended online to official taps. #: -#: If `--desc` is passed, browse available packages matching including a -#: description for each. +#: If `--desc` is passed, search formulae with a description matching and +#: casks with a name matching . #: #: * `search` (`--debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu`) : #: Search for in the given package manager's list. diff --git a/docs/Manpage.md b/docs/Manpage.md index fe58e52db5..4666a3999f 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -406,10 +406,10 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note * `search` [`--desc`] (`text`|`/``text``/`): Perform a substring search of formula names for `text`. If `text` is surrounded with slashes, then it is interpreted as a regular expression. - The search for `text` is extended online to some popular taps. + The search for `text` is extended online to official taps. - If `--desc` is passed, browse available packages matching `text` including a - description for each. + If `--desc` is passed, search formulae with a description matching `text` and + casks with a name matching `text`. * `search` (`--debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu`) `text`: Search for `text` in the given package manager's list. diff --git a/manpages/brew.1 b/manpages/brew.1 index ee8c04b94a..01e4263ead 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -419,10 +419,10 @@ Display all locally available formulae for brewing (including tapped ones)\. No . .TP \fBsearch\fR [\fB\-\-desc\fR] (\fItext\fR|\fB/\fR\fItext\fR\fB/\fR) -Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. The search for \fItext\fR is extended online to some popular taps\. +Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. The search for \fItext\fR is extended online to official taps\. . .IP -If \fB\-\-desc\fR is passed, browse available packages matching \fItext\fR including a description for each\. +If \fB\-\-desc\fR is passed, search formulae with a description matching \fItext\fR and casks with a name matching \fItext\fR\. . .TP \fBsearch\fR (\fB\-\-debian\fR|\fB\-\-fedora\fR|\fB\-\-fink\fR|\fB\-\-macports\fR|\fB\-\-opensuse\fR|\fB\-\-ubuntu\fR) \fItext\fR