diff --git a/Library/Homebrew/cask/cmd.rb b/Library/Homebrew/cask/cmd.rb index cee4589519..bdbdc7ccb4 100644 --- a/Library/Homebrew/cask/cmd.rb +++ b/Library/Homebrew/cask/cmd.rb @@ -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 diff --git a/docs/Manpage.md b/docs/Manpage.md index 881fe0eac9..6a8a9cd35a 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -71,9 +71,6 @@ Homebrew Cask provides a friendly CLI workflow for the administration of macOS a Commands: -- `--cache` -
Display the file used to cache a *`cask`*. - - `audit`
Check *`cask`* for Homebrew coding style violations. @@ -83,9 +80,6 @@ Commands: - `create`
Creates the given *`cask`* and opens it in an editor. -- `doctor` -
Checks for configuration issues. - - `edit`
Open the given *`cask`* for editing. @@ -95,33 +89,18 @@ Commands: - `help`
Print help for `cask` commands. -- `home` -
Opens the homepage of the given *`cask`*. - - `info`
Displays information about the given *`cask`*. - `install`
Installs the given *`cask`*. -- `list` -
Lists installed casks or the casks provided in the arguments. - -- `outdated` -
List the outdated installed casks. - -- `reinstall` -
Reinstalls the given *`cask`*. - - `style`
Checks style of the given *`cask`* using RuboCop. - `uninstall`
Uninstalls the given *`cask`*. -- `upgrade` -
Upgrades all outdated casks or the specified casks. - - `zap`
Zaps all files associated with the given *`cask`*. diff --git a/manpages/brew.1 b/manpages/brew.1 index cab09a8e77..2f2d8c018e 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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