aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Afanasjew2016-05-26 17:52:58 +0200
committerMartin Afanasjew2016-05-26 17:52:58 +0200
commit1c581a232cb59bea25d5cb3a4d4885854938ccb8 (patch)
tree3cfdfe91343a58d41d859d6bd7ce78b029e24c7b
parent132ada2b0ebb3751c0f8f42ca83bb257b55a50fd (diff)
downloadbrew-1c581a232cb59bea25d5cb3a4d4885854938ccb8.tar.bz2
search: add alias -S back to zero-argument help
Amends 132ada2b0ebb3751c0f8f42ca83bb257b55a50fd until we properly figure out a way of documenting built-in aliases (or not doing that) across all commands that currently have aliases. See #270 for full discussion.
-rw-r--r--Library/Homebrew/cmd/search.rb2
-rw-r--r--share/doc/homebrew/brew.1.html2
-rw-r--r--share/man/man1/brew.12
3 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index 33aa8ae9f..71f5d3a8b 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 dd8eed900..39e8c3095 100644
--- a/share/doc/homebrew/brew.1.html
+++ b/share/doc/homebrew/brew.1.html
@@ -314,7 +314,7 @@ created by <code>brew linkapps</code>.</p>
<p>If <code>--dry-run</code> or <code>-n</code> is passed, show what would be removed, but do not
actually remove anything.</p></dd>
<dt><code>reinstall</code> <var>formula</var></dt><dd><p>Uninstall then install <var>formula</var></p></dd>
-<dt class="flush"><code>search</code></dt><dd><p>Display all locally available formulae for brewing (including tapped ones).
+<dt><code>search</code>, <code>-S</code></dt><dd><p>Display all locally available formulae for brewing (including tapped ones).
No online search is performed if called without arguments.</p></dd>
<dt><code>search</code> [<code>--desc</code>] <var>text</var>|<code>/</code><var>text</var><code>/</code></dt><dd><p>Perform a substring search of formula names for <var>text</var>. If <var>text</var> 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 fde5387ef..768a85d55 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