From e12a56fbac70756acd93321e627e8239f7f409aa Mon Sep 17 00:00:00 2001 From: Xuehai Pan Date: Wed, 27 Sep 2023 16:39:07 +0800 Subject: [PATCH] docs: update manpage --- docs/Manpage.md | 6 ++++-- manpages/brew.1 | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/Manpage.md b/docs/Manpage.md index 6af692718b..1242d61b4f 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -667,8 +667,8 @@ Print export statements. When run in a shell, this installation of Homebrew will The variables `HOMEBREW_PREFIX`, `HOMEBREW_CELLAR` and `HOMEBREW_REPOSITORY` are also exported to avoid querying them multiple times. To help guarantee idempotence, this command produces no output when Homebrew's `bin` and `sbin` directories are first and second -respectively in your `PATH`. Consider adding evaluation of this command's output to your dotfiles (e.g. `~/.profile`, -`~/.bash_profile`, or `~/.zprofile`) with: `eval "$(brew shellenv)"` +respectively in your `PATH`. Consider adding evaluation of this command's output to your dotfiles (e.g. `~/.bash_profile` or +`~/.zprofile` on macOS and `~/.bashrc` or `~/.zshrc` on Linux) with: `eval "$(brew shellenv)"` The shell can be specified explicitly with a supported shell name parameter. Unknown shells will output POSIX exports. @@ -1926,6 +1926,8 @@ Provides more output from Homebrew and `launchctl`(1) or `systemctl`(1) if run w Run *`subcommand`* on all services. * `--json`: Output as JSON. +* `--no-wait`: + Don't wait for `stop` to finish stopping the service. ### `test-bot` [*`options`*] [*`formula`*] diff --git a/manpages/brew.1 b/manpages/brew.1 index 35d5e6dbef..89232d76b2 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -944,7 +944,7 @@ Search for \fItext\fR in the given database\. Print export statements\. When run in a shell, this installation of Homebrew will be added to your \fBPATH\fR, \fBMANPATH\fR, and \fBINFOPATH\fR\. . .P -The variables \fBHOMEBREW_PREFIX\fR, \fBHOMEBREW_CELLAR\fR and \fBHOMEBREW_REPOSITORY\fR are also exported to avoid querying them multiple times\. To help guarantee idempotence, this command produces no output when Homebrew\'s \fBbin\fR and \fBsbin\fR directories are first and second respectively in your \fBPATH\fR\. Consider adding evaluation of this command\'s output to your dotfiles (e\.g\. \fB~/\.profile\fR, \fB~/\.bash_profile\fR, or \fB~/\.zprofile\fR) with: \fBeval "$(brew shellenv)"\fR +The variables \fBHOMEBREW_PREFIX\fR, \fBHOMEBREW_CELLAR\fR and \fBHOMEBREW_REPOSITORY\fR are also exported to avoid querying them multiple times\. To help guarantee idempotence, this command produces no output when Homebrew\'s \fBbin\fR and \fBsbin\fR directories are first and second respectively in your \fBPATH\fR\. Consider adding evaluation of this command\'s output to your dotfiles (e\.g\. \fB~/\.bash_profile\fR or \fB~/\.zprofile\fR on macOS and \fB~/\.bashrc\fR or \fB~/\.zshrc\fR on Linux) with: \fBeval "$(brew shellenv)"\fR . .P The shell can be specified explicitly with a supported shell name parameter\. Unknown shells will output POSIX exports\. @@ -2741,6 +2741,10 @@ Run \fIsubcommand\fR on all services\. \fB\-\-json\fR Output as JSON\. . +.TP +\fB\-\-no\-wait\fR +Don\'t wait for \fBstop\fR to finish stopping the service\. +. .SS "\fBtest\-bot\fR [\fIoptions\fR] [\fIformula\fR]" Tests the full lifecycle of a Homebrew change to a tap (Git repository)\. For example, for a GitHub Actions pull request that changes a formula \fBbrew test\-bot\fR will ensure the system is cleaned and set up to test the formula, install the formula, run various tests and checks on it, bottle (package) the binaries and test formulae that depend on it to ensure they aren\'t broken by these changes\. .