Add brew cask upgrade initial documentation

This commit is contained in:
Sean Prashad 2017-12-29 19:29:05 -05:00
parent 7f54c83911
commit a83b2f21ba
No known key found for this signature in database
GPG Key ID: B136F8B8865DB61D
2 changed files with 9 additions and 2 deletions

View File

@ -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 Uninstall the given Cask. With `--force`, uninstall even if the Cask
does not appear to be present. does not appear to be present.
* `upgrade` <token> [ <token> ... ]:
Upgrades the given Cask if outdated.
* `zap` <token> [ <token> ... ]: * `zap` <token> [ <token> ... ]:
Unconditionally remove _all_ files associated with the given Cask. 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 this project is entirely built upon the Homebrew infrastructure. For
example, upgrades to the Homebrew-Cask tool are received through Homebrew: 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 And updates to individual Cask definitions are received whenever you issue
the Homebrew command: the Homebrew command:

View File

@ -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\. Uninstall the given Cask\. With \fB\-\-force\fR, uninstall even if the Cask does not appear to be present\.
. .
.TP .TP
\fBupgrade\fR \fItoken\fR [ \fItoken\fR \.\.\. ]
Upgrades the given Cask if outdated\.
.
.TP
\fBzap\fR \fItoken\fR [ \fItoken\fR \.\.\. ] \fBzap\fR \fItoken\fR [ \fItoken\fR \.\.\. ]
Unconditionally remove \fIall\fR files associated with the given Cask\. 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 .nf
brew update; brew cleanup; brew cask cleanup brew update; brew cask upgrade; brew cleanup; brew cask cleanup
. .
.fi .fi
. .