aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Prashad2017-12-29 19:29:05 -0500
committerSean Prashad2017-12-29 19:29:05 -0500
commita83b2f21ba0550d44346fec1497414d76d219e82 (patch)
tree5a95be297a83200c378314d3ddac73e4d12e2871
parent7f54c83911a494b592e412d2f99119530cebf458 (diff)
downloadbrew-a83b2f21ba0550d44346fec1497414d76d219e82.tar.bz2
Add brew cask upgrade initial documentation
-rw-r--r--Library/Homebrew/manpages/brew-cask.1.md5
-rw-r--r--manpages/brew-cask.16
2 files changed, 9 insertions, 2 deletions
diff --git a/Library/Homebrew/manpages/brew-cask.1.md b/Library/Homebrew/manpages/brew-cask.1.md
index 1c7c198b0..9fb3b794f 100644
--- a/Library/Homebrew/manpages/brew-cask.1.md
+++ b/Library/Homebrew/manpages/brew-cask.1.md
@@ -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:
diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1
index 21bd79aec..3457171b3 100644
--- a/manpages/brew-cask.1
+++ b/manpages/brew-cask.1
@@ -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
.