aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-23 16:01:13 +0200
committerMarkus Reiter2017-05-23 16:01:13 +0200
commit4bfd94cb309beed5e013f5ad9e6598840f0521d1 (patch)
treef1f93a72480bfb8069727e2350b65eb267ce6023
parent0871e069a2e5ee2954296c931b3d4208c5f5bb4d (diff)
downloadbrew-4bfd94cb309beed5e013f5ad9e6598840f0521d1.tar.bz2
Add `SUDO_ASKPASS` to `brew-cask` manpage.
-rw-r--r--Library/Homebrew/manpages/brew-cask.1.md14
-rw-r--r--manpages/brew-cask.17
2 files changed, 17 insertions, 4 deletions
diff --git a/Library/Homebrew/manpages/brew-cask.1.md b/Library/Homebrew/manpages/brew-cask.1.md
index 5175421fe..6b4e8bc87 100644
--- a/Library/Homebrew/manpages/brew-cask.1.md
+++ b/Library/Homebrew/manpages/brew-cask.1.md
@@ -87,12 +87,12 @@ names, and other aspects of this manual are still subject to change.
given Cask.
* `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
+ 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 `--greedy` is given then also include in the output the Casks having
+ If `--greedy` is given then also include in the output the Casks having
`auto_updates true` or `version :latest`. Otherwise they are skipped
- because there is no reliable way to know when updates are available for
+ because there is no reliable way to know when updates are available for
them.<br>
`--verbose` forces the display of the outdated and latest version.<br>
`--quiet` suppresses the display of versions.
@@ -257,6 +257,12 @@ Environment variables specific to Homebrew-Cask:
export HOMEBREW_CASK_OPTS='--appdir=/Applications --caskroom=/etc/Caskroom'
+Other environment variables:
+
+ * `SUDO_ASKPASS`:
+ When this variable is set, Homebrew-Cask will call `sudo`(8) with the `-A` option.
+
+
## SEE ALSO
The Homebrew-Cask home page: <https://caskroom.github.io/>
diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1
index bde8ff3c2..353de66bf 100644
--- a/manpages/brew-cask.1
+++ b/manpages/brew-cask.1
@@ -297,6 +297,13 @@ This variable may contain any arguments normally used as options on the command\
.IP "" 0
.
+.P
+Other environment variables:
+.
+.TP
+\fBSUDO_ASKPASS\fR
+When this variable is set, Homebrew\-Cask will call \fBsudo\fR(8) with the \fB\-A\fR option\.
+.
.SH "SEE ALSO"
The Homebrew\-Cask home page: \fIhttps://caskroom\.github\.io/\fR
.