From 4bfd94cb309beed5e013f5ad9e6598840f0521d1 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 23 May 2017 16:01:13 +0200 Subject: [PATCH] Add `SUDO_ASKPASS` to `brew-cask` manpage. --- Library/Homebrew/manpages/brew-cask.1.md | 14 ++++++++++---- manpages/brew-cask.1 | 7 +++++++ 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 5175421fed..6b4e8bc870 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] [ ...]: - 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.
`--verbose` forces the display of the outdated and latest version.
`--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: diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index bde8ff3c28..353de66bf6 100644 --- a/manpages/brew-cask.1 +++ b/manpages/brew-cask.1 @@ -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