diff --git a/docs/Manpage.md b/docs/Manpage.md index 1053e0f0627f4..5bebcd173fb99 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1818,6 +1818,8 @@ process has finished successfully. Send a notification when the autoupdate process has finished successfully, if `terminal-notifier` is installed and found. Must be passed with `start`. Note: notifications are enabled by default on macOS Catalina and newer. * `--immediate`: Starts the autoupdate command immediately and on system boot, instead of waiting for one interval (24 hours by default) to pass first. Must be passed with `start`. +* `--sudo`: + If a Cask requires sudo, autoupdate will open a GUI to ask for the password. Requires https://formulae.brew.sh/formula/pinentry-mac to be installed. ### `bundle` [*`subcommand`*] diff --git a/manpages/brew.1 b/manpages/brew.1 index ea670d8ff772d..d65b69348093b 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -2579,6 +2579,10 @@ Send a notification when the autoupdate process has finished successfully, if \f \fB\-\-immediate\fR Starts the autoupdate command immediately and on system boot, instead of waiting for one interval (24 hours by default) to pass first\. Must be passed with \fBstart\fR\. . +.TP +\fB\-\-sudo\fR +If a Cask requires sudo, autoupdate will open a GUI to ask for the password\. Requires https://formulae\.brew\.sh/formula/pinentry\-mac to be installed\. +. .SS "\fBbundle\fR [\fIsubcommand\fR]" Bundler for non\-Ruby dependencies from Homebrew, Homebrew Cask, Mac App Store and Whalebrew\. .