Merge pull request #3617 from commitay/manpage

cask manpage: upgrade
This commit is contained in:
Vítor Galvão 2017-12-31 00:50:45 +00:00 committed by GitHub
commit 04bcf69287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View File

@ -116,8 +116,12 @@ 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> ... ]: * `upgrade` [--force] [--greedy] <token> [ <token> ... ]:
Upgrades the given Cask if outdated. Without token arguments, upgrade all the installed Casks that have newer
versions available in the tap; otherwise update the tokens given
in the command line.
If `--greedy` is given then also upgrade the Casks having `auto_updates true`
or `version :latest`.
* `zap` <token> [ <token> ... ]: * `zap` <token> [ <token> ... ]:
Unconditionally remove _all_ files associated with the given Cask. Unconditionally remove _all_ files associated with the given Cask.

View File

@ -114,8 +114,8 @@ 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 \.\.\. ] \fBupgrade\fR [\-\-force] [\-\-greedy] \fItoken\fR [ \fItoken\fR \.\.\. ]
Upgrades the given Cask if outdated\. Without token arguments, upgrade all the installed Casks that have newer versions available in the tap; otherwise update the tokens given in the command line\. If \fB\-\-greedy\fR is given then also upgrade the Casks having \fBauto_updates true\fR or \fBversion :latest\fR\.
. .
.TP .TP
\fBzap\fR \fItoken\fR [ \fItoken\fR \.\.\. ] \fBzap\fR \fItoken\fR [ \fItoken\fR \.\.\. ]