remove deprecated cask command from man page

This commit is contained in:
hyuraku 2020-10-26 21:48:38 +09:00 committed by Markus Reiter
parent 9f458142b7
commit faf7aab6dd
3 changed files with 1 additions and 63 deletions

View File

@ -69,6 +69,7 @@ module Cask
command_lines = Cmd.command_classes
.select(&:visible?)
.reject { |command| DEPRECATED_COMMANDS.key?(command) }
.map do |klass|
" - #{"`#{klass.command_name}`".ljust(max_command_length + 2)} #{klass.short_description}\n"
end

View File

@ -71,9 +71,6 @@ Homebrew Cask provides a friendly CLI workflow for the administration of macOS a
Commands:
- `--cache`
<br>Display the file used to cache a *`cask`*.
- `audit`
<br>Check *`cask`* for Homebrew coding style violations.
@ -83,9 +80,6 @@ Commands:
- `create`
<br>Creates the given *`cask`* and opens it in an editor.
- `doctor`
<br>Checks for configuration issues.
- `edit`
<br>Open the given *`cask`* for editing.
@ -95,33 +89,18 @@ Commands:
- `help`
<br>Print help for `cask` commands.
- `home`
<br>Opens the homepage of the given *`cask`*.
- `info`
<br>Displays information about the given *`cask`*.
- `install`
<br>Installs the given *`cask`*.
- `list`
<br>Lists installed casks or the casks provided in the arguments.
- `outdated`
<br>List the outdated installed casks.
- `reinstall`
<br>Reinstalls the given *`cask`*.
- `style`
<br>Checks style of the given *`cask`* using RuboCop.
- `uninstall`
<br>Uninstalls the given *`cask`*.
- `upgrade`
<br>Upgrades all outdated casks or the specified casks.
- `zap`
<br>Zaps all files associated with the given *`cask`*.

View File

@ -67,12 +67,6 @@ Homebrew Cask provides a friendly CLI workflow for the administration of macOS a
Commands:
.
.TP
\fB\-\-cache\fR
.
.br
Display the file used to cache a \fIcask\fR\.
.
.TP
\fBaudit\fR
.
.br
@ -91,12 +85,6 @@ Dump raw source of a \fIcask\fR to the standard output\.
Creates the given \fIcask\fR and opens it in an editor\.
.
.TP
\fBdoctor\fR
.
.br
Checks for configuration issues\.
.
.TP
\fBedit\fR
.
.br
@ -115,12 +103,6 @@ Downloads remote application files to local cache\.
Print help for \fBcask\fR commands\.
.
.TP
\fBhome\fR
.
.br
Opens the homepage of the given \fIcask\fR\.
.
.TP
\fBinfo\fR
.
.br
@ -133,24 +115,6 @@ Displays information about the given \fIcask\fR\.
Installs the given \fIcask\fR\.
.
.TP
\fBlist\fR
.
.br
Lists installed casks or the casks provided in the arguments\.
.
.TP
\fBoutdated\fR
.
.br
List the outdated installed casks\.
.
.TP
\fBreinstall\fR
.
.br
Reinstalls the given \fIcask\fR\.
.
.TP
\fBstyle\fR
.
.br
@ -163,12 +127,6 @@ Checks style of the given \fIcask\fR using RuboCop\.
Uninstalls the given \fIcask\fR\.
.
.TP
\fBupgrade\fR
.
.br
Upgrades all outdated casks or the specified casks\.
.
.TP
\fBzap\fR
.
.br