manpage: add parentheses in 'search' synopsis
For consistency with other commands where there is a list of mutually exclusive options of which exactly one has to be specified.
This commit is contained in:
parent
b3627cc5b2
commit
8161595015
@ -365,7 +365,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
|
|||||||
surrounded with slashes, then it is interpreted as a regular expression.
|
surrounded with slashes, then it is interpreted as a regular expression.
|
||||||
The search for <text> is extended online to some popular taps.
|
The search for <text> is extended online to some popular taps.
|
||||||
|
|
||||||
* `search` `--debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu` <text>:
|
* `search` (`--debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu`) <text>:
|
||||||
Search for <text> in the given package manager's list.
|
Search for <text> in the given package manager's list.
|
||||||
|
|
||||||
* `sh` [`--env=std`]:
|
* `sh` [`--env=std`]:
|
||||||
|
|||||||
@ -283,7 +283,7 @@ No online search is performed if called without arguments.</p></dd>
|
|||||||
<dt><code>search</code>, <code>-S</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>-S</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.
|
||||||
The search for <var>text</var> is extended online to some popular taps.</p></dd>
|
The search for <var>text</var> is extended online to some popular taps.</p></dd>
|
||||||
<dt><code>search</code> <code>--debian</code>|<code>--fedora</code>|<code>--fink</code>|<code>--macports</code>|<code>--opensuse</code>|<code>--ubuntu</code> <var>text</var></dt><dd><p>Search for <var>text</var> in the given package manager's list.</p></dd>
|
<dt><code>search</code> (<code>--debian</code>|<code>--fedora</code>|<code>--fink</code>|<code>--macports</code>|<code>--opensuse</code>|<code>--ubuntu</code>) <var>text</var></dt><dd><p>Search for <var>text</var> in the given package manager's list.</p></dd>
|
||||||
<dt><code>sh</code> [<code>--env=std</code>]</dt><dd><p>Instantiate a Homebrew build environment. Uses our years-battle-hardened
|
<dt><code>sh</code> [<code>--env=std</code>]</dt><dd><p>Instantiate a Homebrew build environment. Uses our years-battle-hardened
|
||||||
Homebrew build logic to help your <code>./configure && make && make install</code>
|
Homebrew build logic to help your <code>./configure && make && make install</code>
|
||||||
or even your <code>gem install</code> succeed. Especially handy if you run Homebrew
|
or even your <code>gem install</code> succeed. Especially handy if you run Homebrew
|
||||||
|
|||||||
@ -390,7 +390,7 @@ Display all locally available formulae for brewing (including tapped ones)\. No
|
|||||||
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\.
|
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
|
.TP
|
||||||
\fBsearch\fR \fB\-\-debian\fR|\fB\-\-fedora\fR|\fB\-\-fink\fR|\fB\-\-macports\fR|\fB\-\-opensuse\fR|\fB\-\-ubuntu\fR \fItext\fR
|
\fBsearch\fR (\fB\-\-debian\fR|\fB\-\-fedora\fR|\fB\-\-fink\fR|\fB\-\-macports\fR|\fB\-\-opensuse\fR|\fB\-\-ubuntu\fR) \fItext\fR
|
||||||
Search for \fItext\fR in the given package manager\'s list\.
|
Search for \fItext\fR in the given package manager\'s list\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user