From a83b2f21ba0550d44346fec1497414d76d219e82 Mon Sep 17 00:00:00 2001 From: Sean Prashad Date: Fri, 29 Dec 2017 19:29:05 -0500 Subject: [PATCH] Add brew cask upgrade initial documentation --- Library/Homebrew/manpages/brew-cask.1.md | 5 ++++- manpages/brew-cask.1 | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/manpages/brew-cask.1.md b/Library/Homebrew/manpages/brew-cask.1.md index 1c7c198b07..9fb3b794f4 100644 --- a/Library/Homebrew/manpages/brew-cask.1.md +++ b/Library/Homebrew/manpages/brew-cask.1.md @@ -116,6 +116,9 @@ names, and other aspects of this manual are still subject to change. Uninstall the given Cask. With `--force`, uninstall even if the Cask does not appear to be present. + * `upgrade` [ ... ]: + Upgrades the given Cask if outdated. + * `zap` [ ... ]: Unconditionally remove _all_ files associated with the given Cask. @@ -218,7 +221,7 @@ Homebrew-Cask is implemented as a external command for Homebrew. That means this project is entirely built upon the Homebrew infrastructure. For example, upgrades to the Homebrew-Cask tool are received through Homebrew: - brew update; brew cleanup; brew cask cleanup + brew update; brew cask upgrade; brew cleanup; brew cask cleanup And updates to individual Cask definitions are received whenever you issue the Homebrew command: diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index 21bd79aec1..3457171b3b 100644 --- a/manpages/brew-cask.1 +++ b/manpages/brew-cask.1 @@ -114,6 +114,10 @@ Check the given Casks for correct style using RuboCop Cask \fIhttps://github\.co Uninstall the given Cask\. With \fB\-\-force\fR, uninstall even if the Cask does not appear to be present\. . .TP +\fBupgrade\fR \fItoken\fR [ \fItoken\fR \.\.\. ] +Upgrades the given Cask if outdated\. +. +.TP \fBzap\fR \fItoken\fR [ \fItoken\fR \.\.\. ] Unconditionally remove \fIall\fR files associated with the given Cask\. . @@ -235,7 +239,7 @@ Homebrew\-Cask is implemented as a external command for Homebrew\. That means th . .nf -brew update; brew cleanup; brew cask cleanup +brew update; brew cask upgrade; brew cleanup; brew cask cleanup . .fi .