diff --git a/docs/Manpage.md b/docs/Manpage.md index 694a9a3ec4..d5a7503a85 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1742,6 +1742,9 @@ Otherwise, operate on `~/Library/LaunchAgents` (started at login). [`sudo`] `brew services` [`list`]
List all managed services for the current user (or root). +[`sudo`] `brew services info` (*`formula`*|`--all`) +
List all managed services for the current user (or root). + [`sudo`] `brew services run` (*`formula`*|`--all`)
Run the service *`formula`* without registering to launch at login (or boot). @@ -1761,6 +1764,8 @@ Otherwise, operate on `~/Library/LaunchAgents` (started at login). Use the plist file from this location to start or run the service. * `--all`: Run *`subcommand`* on all services. +* `--json`: + Output as JSON. ### `test-bot` [*`options`*] [*`formula`*] diff --git a/manpages/brew.1 b/manpages/brew.1 index ce14f3da6b..3ae094773c 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -2453,6 +2453,10 @@ If \fBsudo\fR is passed, operate on \fB/Library/LaunchDaemons\fR (started at boo List all managed services for the current user (or root)\. . .P +[\fBsudo\fR] \fBbrew services info\fR (\fIformula\fR|\fB\-\-all\fR) + List all managed services for the current user (or root)\. +. +.P [\fBsudo\fR] \fBbrew services run\fR (\fIformula\fR|\fB\-\-all\fR) Run the service \fIformula\fR without registering to launch at login (or boot)\. . @@ -2480,6 +2484,10 @@ Use the plist file from this location to start or run the service\. \fB\-\-all\fR Run \fIsubcommand\fR on all services\. . +.TP +\fB\-\-json\fR +Output as JSON\. +. .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\. .