Merge pull request #3609 from SeanPrashad/41372

Add brew cask upgrade initial documentation
This commit is contained in:
Mike McQuaid 2017-12-30 20:24:36 +00:00 committed by GitHub
commit 176ed97d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
does not appear to be present.
* `upgrade` <token> [ <token> ... ]:
Upgrades the given Cask if outdated.
* `zap` <token> [ <token> ... ]:
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:

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\.
.
.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
.