Remove search from brew-cask man page

`brew cask` no longer supports the `search` command and was removed from
the `homebrew/brew-cask` documentation. However, it's still in the
`brew` man page for `brew-cask`.

Remove search from the man page.
This commit is contained in:
Garrett Guillotte 2019-03-28 18:12:42 -07:00
parent 0dda83755e
commit c59c03e2f8
2 changed files with 0 additions and 25 deletions

View File

@ -19,13 +19,6 @@ graphical user interface.
* `uninstall` [--force] <token> [ <token> ... ]: * `uninstall` [--force] <token> [ <token> ... ]:
Uninstall Cask identified by <token>. Uninstall Cask identified by <token>.
* `search` <text> | /<regexp>/:
Perform a substring search of known Cask tokens for <text>. If the text
is delimited by slashes, it is interpreted as a Ruby regular expression.
The tokens returned by `search` are suitable as arguments for most other
commands, such as `install` or `uninstall`.
## COMMANDS ## COMMANDS
* `audit` [--language=<iso-language>[,<iso-language> ... ]] [ <token> ... ]: * `audit` [--language=<iso-language>[,<iso-language> ... ]] [ <token> ... ]:
@ -92,13 +85,6 @@ graphical user interface.
* `reinstall` [--no-quarantine] <token> [ <token> ... ]: * `reinstall` [--no-quarantine] <token> [ <token> ... ]:
Reinstall the given Cask. Reinstall the given Cask.
* `search` or `-S` [<text> | /<regexp>/]:
Without an argument, display all locally available Casks for install; no
online search is performed.
Otherwise perform a substring search of known Cask tokens for <text> or,
if the text is delimited by slashes (/<regexp>/), it is interpreted as a
Ruby regular expression.
* `style` [--fix] [ <token> ... ]: * `style` [--fix] [ <token> ... ]:
Check the given Casks for correct style using RuboCop (with custom Cask cops). Check the given Casks for correct style using RuboCop (with custom Cask cops).
If no tokens are given on the command line, all Casks are checked. If no tokens are given on the command line, all Casks are checked.

View File

@ -22,13 +22,6 @@ Install Cask identified by \fItoken\fR\.
\fBuninstall\fR [\-\-force] \fItoken\fR [ \fItoken\fR \.\.\. ] \fBuninstall\fR [\-\-force] \fItoken\fR [ \fItoken\fR \.\.\. ]
Uninstall Cask identified by \fItoken\fR\. Uninstall Cask identified by \fItoken\fR\.
. .
.TP
\fBsearch\fR \fItext\fR | /\fIregexp\fR/
Perform a substring search of known Cask tokens for \fItext\fR\. If the text is delimited by slashes, it is interpreted as a Ruby regular expression\.
.
.IP
The tokens returned by \fBsearch\fR are suitable as arguments for most other commands, such as \fBinstall\fR or \fBuninstall\fR\.
.
.SH "COMMANDS" .SH "COMMANDS"
. .
.TP .TP
@ -95,10 +88,6 @@ Without token arguments, display all the installed Casks that have newer version
Reinstall the given Cask\. Reinstall the given Cask\.
. .
.TP .TP
\fBsearch\fR or \fB\-S\fR [\fItext\fR | /\fIregexp\fR/]
Without an argument, display all locally available Casks for install; no online search is performed\. Otherwise perform a substring search of known Cask tokens for \fItext\fR or, if the text is delimited by slashes (/\fIregexp\fR/), it is interpreted as a Ruby regular expression\.
.
.TP
\fBstyle\fR [\-\-fix] [ \fItoken\fR \.\.\. ] \fBstyle\fR [\-\-fix] [ \fItoken\fR \.\.\. ]
Check the given Casks for correct style using RuboCop (with custom Cask cops)\. If no tokens are given on the command line, all Casks are checked\. With \fB\-\-fix\fR, auto\-correct any style errors if possible\. Check the given Casks for correct style using RuboCop (with custom Cask cops)\. If no tokens are given on the command line, all Casks are checked\. With \fB\-\-fix\fR, auto\-correct any style errors if possible\.
. .