Undocument search features that no longer exist
Due to the fragility of the code, this functionality was removed in recent refactorings of the tap code. It is possible to restore these features, but it needs to be done in a cleaner, more maintainable way. Closes Homebrew/homebrew#29585.
This commit is contained in:
parent
84251bd44f
commit
f0bffe8043
@ -305,15 +305,10 @@ Note that these flags should only appear after a command.
|
||||
Display all locally available formulae for brewing (including tapped ones).
|
||||
No online search is performed if called without arguments.
|
||||
|
||||
* `search`, `-S` <tap>:
|
||||
Display all formulae in a <tap>, even if not yet tapped.
|
||||
<tap> is of the form <user>/<repo>, e.g. `brew search homebrew/dupes`.
|
||||
|
||||
* `search`, `-S` [<tap>] <text>|/<text>/:
|
||||
* `search`, `-S` <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.
|
||||
If a <tap> is specified, the search is restricted to it.
|
||||
|
||||
* `search --debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu` <text>:
|
||||
Search for <text> in the given package manager's list.
|
||||
|
||||
@ -325,12 +325,8 @@ If \fB\-\-force\fR is passed, and there are multiple versions of \fIformula\fR i
|
||||
Display all locally available formulae for brewing (including tapped ones)\. No online search is performed if called without arguments\.
|
||||
.
|
||||
.TP
|
||||
\fBsearch\fR, \fB\-S\fR \fItap\fR
|
||||
Display all formulae in a \fItap\fR, even if not yet tapped\. \fItap\fR is of the form \fIuser\fR/\fIrepo\fR, e\.g\. \fBbrew search homebrew/dupes\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBsearch\fR, \fB\-S\fR [\fItap\fR] \fItext\fR|/\fItext\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\. If a \fItap\fR is specified, the search is restricted to it\.
|
||||
\fBsearch\fR, \fB\-S\fR \fItext\fR|/\fItext\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\.
|
||||
.
|
||||
.TP
|
||||
\fBsearch \-\-debian\fR|\fB\-\-fedora\fR|\fB\-\-fink\fR|\fB\-\-macports\fR|\fB\-\-opensuse\fR|\fB\-\-ubuntu\fR \fItext\fR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user