From de4b126e5c2e73df1d20f05465620e7af5097a1a Mon Sep 17 00:00:00 2001 From: commitay Date: Sun, 31 Dec 2017 09:39:43 +1000 Subject: [PATCH] cask manpage: upgrade --- Library/Homebrew/manpages/brew-cask.1.md | 10 +++++++--- 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 9fb3b794f4..4b70822eeb 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 is given, summarize the staged files associated with the given Cask. - * `outdated` [--greedy] [--verbose|--quiet] [ ...]: + * `outdated` [--greedy] [--verbose|--quiet] [ ... ]: 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` [ ... ]: - Upgrades the given Cask if outdated. + * `upgrade` [--force] [--greedy] [ ... ]: + 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` [ ... ]: Unconditionally remove _all_ files associated with the given Cask. diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index 3457171b3b..44e1ed14d2 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 \.\.\. ]