Merge pull request #2671 from reitermarkus/manpage-sudo-askpass

Add `SUDO_ASKPASS` to `brew-cask` manpage.
This commit is contained in:
Vítor Galvão 2017-05-23 17:06:26 +01:00 committed by GitHub
commit b7cfd5e30d
2 changed files with 17 additions and 4 deletions

View File

@ -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/>

View File

@ -296,6 +296,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