diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 33aa8ae9f7..71f5d3a8b2 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -1,4 +1,4 @@ -#: * `search`: +#: * `search`, `-S`: #: Display all locally available formulae for brewing (including tapped ones). #: No online search is performed if called without arguments. #: diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html index dd8eed9009..39e8c3095e 100644 --- a/share/doc/homebrew/brew.1.html +++ b/share/doc/homebrew/brew.1.html @@ -314,7 +314,7 @@ created by brew linkapps.

If --dry-run or -n is passed, show what would be removed, but do not actually remove anything.

reinstall formula

Uninstall then install formula

-
search

Display all locally available formulae for brewing (including tapped ones). +

search, -S

Display all locally available formulae for brewing (including tapped ones). No online search is performed if called without arguments.

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. diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index fde5387efe..768a85d557 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -426,7 +426,7 @@ If \fB\-\-dry\-run\fR or \fB\-n\fR is passed, show what would be removed, but do Uninstall then install \fIformula\fR . .TP -\fBsearch\fR +\fBsearch\fR, \fB\-S\fR Display all locally available formulae for brewing (including tapped ones)\. No online search is performed if called without arguments\. . .TP