diff options
| author | Vítor Galvão | 2017-12-31 00:50:45 +0000 |
|---|---|---|
| committer | GitHub | 2017-12-31 00:50:45 +0000 |
| commit | 04bcf6928787030d5935354744bbddc3b14a3e14 (patch) | |
| tree | 027a96b766bb163214edad210b4d6419e5bbd754 | |
| parent | 176ed97d4241ae673f8d7ef1daa43efa1695d06f (diff) | |
| parent | de4b126e5c2e73df1d20f05465620e7af5097a1a (diff) | |
| download | brew-04bcf6928787030d5935354744bbddc3b14a3e14.tar.bz2 | |
Merge pull request #3617 from commitay/manpage
cask manpage: upgrade
| -rw-r--r-- | Library/Homebrew/manpages/brew-cask.1.md | 10 | ||||
| -rw-r--r-- | manpages/brew-cask.1 | 6 |
2 files changed, 10 insertions, 6 deletions
diff --git a/Library/Homebrew/manpages/brew-cask.1.md b/Library/Homebrew/manpages/brew-cask.1.md index 9fb3b794f..4b70822ee 100644 --- a/Library/Homebrew/manpages/brew-cask.1.md +++ b/Library/Homebrew/manpages/brew-cask.1.md @@ -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 given Cask. - * `outdated` [--greedy] [--verbose|--quiet] [ <token> ...]: + * `outdated` [--greedy] [--verbose|--quiet] [ <token> ... ]: 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. @@ -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 does not appear to be present. - * `upgrade` <token> [ <token> ... ]: - Upgrades the given Cask if outdated. + * `upgrade` [--force] [--greedy] <token> [ <token> ... ]: + 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> ... ]: Unconditionally remove _all_ files associated with the given Cask. diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index 3457171b3..44e1ed14d 100644 --- a/manpages/brew-cask.1 +++ b/manpages/brew-cask.1 @@ -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\. . .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\. . .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\. . .TP -\fBupgrade\fR \fItoken\fR [ \fItoken\fR \.\.\. ] -Upgrades the given Cask if outdated\. +\fBupgrade\fR [\-\-force] [\-\-greedy] \fItoken\fR [ \fItoken\fR \.\.\. ] +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 \fBzap\fR \fItoken\fR [ \fItoken\fR \.\.\. ] |
