diff options
| author | Jack Nagel | 2014-05-26 12:16:08 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-26 12:16:08 -0500 |
| commit | f0bffe8043200deb23debe114170010a28d0c636 (patch) | |
| tree | fe8b46ae620774e6946f6c1fff1bb89efe6cc2a2 | |
| parent | 84251bd44fbdc722a36c41891ed2b15b3406afbe (diff) | |
| download | brew-f0bffe8043200deb23debe114170010a28d0c636.tar.bz2 | |
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.
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 7 | ||||
| -rw-r--r-- | share/man/man1/brew.1 | 8 |
2 files changed, 3 insertions, 12 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index f3b86747d..492aecc25 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -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. diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 41ef8d326..e7ef396e6 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -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 |
