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

@ -86,7 +86,7 @@ names, and other aspects of this manual are still subject to change.
If <token> is given, summarize the staged files associated with the If <token> is given, summarize the staged files associated with the
given Cask. given Cask.
* `outdated` [--greedy] [--verbose|--quiet] [ <token> ...]: * `outdated` [--greedy] [--verbose|--quiet] [ <token> ... ]:
Without token arguments, display all the installed Casks that have newer Without token arguments, display all the installed Casks that have newer
versions available in the tap; otherwise check only the tokens given versions available in the tap; otherwise check only the tokens given
in the command line. in the command line.
@ -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

@ -88,7 +88,7 @@ Without any arguments, list all installed Casks\. With \fB\-1\fR, always format
If \fItoken\fR is given, summarize the staged files associated with the given Cask\. If \fItoken\fR is given, summarize the staged files associated with the given Cask\.
. .
.TP .TP
\fBoutdated\fR [\-\-greedy] [\-\-verbose|\-\-quiet] [ \fItoken\fR \.\.\.] \fBoutdated\fR [\-\-greedy] [\-\-verbose|\-\-quiet] [ \fItoken\fR \.\.\. ]
Without token arguments, display all the installed Casks that have newer versions available in the tap; otherwise check only the tokens given in the command line\. If \fB\-\-greedy\fR is given then also include in the output the Casks having \fBauto_updates true\fR or \fBversion :latest\fR\. Otherwise they are skipped because there is no reliable way to know when updates are available for them\. Without token arguments, display all the installed Casks that have newer versions available in the tap; otherwise check only the tokens given in the command line\. If \fB\-\-greedy\fR is given then also include in the output the Casks having \fBauto_updates true\fR or \fBversion :latest\fR\. Otherwise they are skipped because there is no reliable way to know when updates are available for them\.
. .
.br .br
@ -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 \.\.\. ]