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.
This commit is contained in:
Martin Afanasjew 2016-05-26 17:52:58 +02:00
parent 132ada2b0e
commit 1c581a232c
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#: * `search`: #: * `search`, `-S`:
#: Display all locally available formulae for brewing (including tapped ones). #: Display all locally available formulae for brewing (including tapped ones).
#: No online search is performed if called without arguments. #: No online search is performed if called without arguments.
#: #:

View File

@ -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 <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> actually remove anything.</p></dd>
<dt><code>reinstall</code> <var>formula</var></dt><dd><p>Uninstall then install <var>formula</var></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> 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 <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. surrounded with slashes, then it is interpreted as a regular expression.

View File

@ -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 Uninstall then install \fIformula\fR
. .
.TP .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\. Display all locally available formulae for brewing (including tapped ones)\. No online search is performed if called without arguments\.
. .
.TP .TP