Merge pull request #5081 from MikeMcQuaid/manpage-updates
Update manpages
This commit is contained in:
commit
858610c553
@ -184,7 +184,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def generate_cmd_manpages(glob)
|
def generate_cmd_manpages(glob)
|
||||||
cmd_paths = Pathname.glob(glob)
|
cmd_paths = Pathname.glob(glob).sort
|
||||||
man_page_lines = []
|
man_page_lines = []
|
||||||
cmd_paths.each do |cmd_path|
|
cmd_paths.each do |cmd_path|
|
||||||
begin
|
begin
|
||||||
|
|||||||
@ -1030,26 +1030,26 @@ Override warnings and enable potentially unsafe operations.
|
|||||||
* `services` *`command`*:
|
* `services` *`command`*:
|
||||||
Integrates Homebrew formulae with macOS' `launchctl` manager.
|
Integrates Homebrew formulae with macOS' `launchctl` manager.
|
||||||
|
|
||||||
[`sudo`] `brew services list`:
|
[*`sudo`*] `brew services list`
|
||||||
List all running services for the current user (or root).
|
List all running services for the current user (or *`root`*)
|
||||||
|
|
||||||
[`sudo`] `brew services run` (*`formula`*|`--all`):
|
[*`sudo`*] `brew services run` *`formula|--all`*
|
||||||
Run the service *`formula`* without registering to launch at login (or boot).
|
Run the service *`formula`* without starting at login (or boot).
|
||||||
|
|
||||||
[`sudo`] `brew services start` (*`formula`*|`--all`):
|
[*`sudo`*] `brew services` `start` *`formula|--all`*
|
||||||
Start the service *`formula`* immediately and register it to launch at login (or boot).
|
Start the service *`formula`* immediately and register it to launch at login (or *`boot`*).
|
||||||
|
|
||||||
[`sudo`] `brew services stop` (*`formula`*|`--all`):
|
[*`sudo`*] `brew services` `stop` *`formula|--all`*
|
||||||
Stop the service *`formula`* immediately and unregister it from launching at login (or boot).
|
Stop the service *`formula`* immediately and unregister it from launching at login (or *`boot`*).
|
||||||
|
|
||||||
[`sudo`] `brew services restart` (*`formula`*|`--all`):
|
[*`sudo`*] `brew services` `restart` *`formula|--all`*
|
||||||
Stop (if necessary) and start the service *`formula`* immediately and register it to launch at login (or boot).
|
Stop (if necessary) and start the service immediately and register it to launch at login (or *`boot`*).
|
||||||
|
|
||||||
[`sudo`] `brew services cleanup`:
|
[*`sudo`*] `brew services` `cleanup`
|
||||||
Remove all unused services.
|
Remove all unused services.
|
||||||
|
|
||||||
If `sudo` is passed, operate on `/Library/LaunchDaemons` (started at boot).
|
If `sudo` is passed, operate on `/Library/LaunchDaemons` (started at boot).
|
||||||
Otherwise, operate on `~/Library/LaunchAgents` (started at login).
|
Otherwise, operate on `~/Library/LaunchAgents (started at login)`.
|
||||||
|
|
||||||
**Homebrew/homebrew-services**: <https://github.com/Homebrew/homebrew-services>
|
**Homebrew/homebrew-services**: <https://github.com/Homebrew/homebrew-services>
|
||||||
|
|
||||||
|
|||||||
@ -1156,31 +1156,25 @@ Install macOS applications distributed as binaries\.
|
|||||||
Integrates Homebrew formulae with macOS\' \fBlaunchctl\fR manager\.
|
Integrates Homebrew formulae with macOS\' \fBlaunchctl\fR manager\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
[\fBsudo\fR] \fBbrew services list\fR
|
[\fIsudo\fR] \fBbrew services list\fR List all running services for the current user (or \fIroot\fR)
|
||||||
List all running services for the current user (or root)\.
|
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
[\fBsudo\fR] \fBbrew services run\fR (\fIformula\fR|\fB\-\-all\fR)
|
[\fIsudo\fR] \fBbrew services run\fR \fIformula|\-\-all\fR Run the service \fIformula\fR without starting at login (or boot)\.
|
||||||
Run the service \fIformula\fR without registering to launch at login (or boot)\.
|
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
[\fBsudo\fR] \fBbrew services start\fR (\fIformula\fR|\fB\-\-all\fR)
|
[\fIsudo\fR] \fBbrew services\fR \fBstart\fR \fIformula|\-\-all\fR Start the service \fIformula\fR immediately and register it to launch at login (or \fIboot\fR)\.
|
||||||
Start the service \fIformula\fR immediately and register it to launch at login (or boot)\.
|
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
[\fBsudo\fR] \fBbrew services stop\fR (\fIformula\fR|\fB\-\-all\fR)
|
[\fIsudo\fR] \fBbrew services\fR \fBstop\fR \fIformula|\-\-all\fR Stop the service \fIformula\fR immediately and unregister it from launching at login (or \fIboot\fR)\.
|
||||||
Stop the service \fIformula\fR immediately and unregister it from launching at login (or boot)\.
|
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
[\fBsudo\fR] \fBbrew services restart\fR (\fIformula\fR|\fB\-\-all\fR)
|
[\fIsudo\fR] \fBbrew services\fR \fBrestart\fR \fIformula|\-\-all\fR Stop (if necessary) and start the service immediately and register it to launch at login (or \fIboot\fR)\.
|
||||||
Stop (if necessary) and start the service \fIformula\fR immediately and register it to launch at login (or boot)\.
|
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
[\fBsudo\fR] \fBbrew services cleanup\fR
|
[\fIsudo\fR] \fBbrew services\fR \fBcleanup\fR Remove all unused services\.
|
||||||
Remove all unused services\.
|
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
If \fBsudo\fR is passed, operate on \fB/Library/LaunchDaemons\fR (started at boot)\. Otherwise, operate on \fB~/Library/LaunchAgents\fR (started at login)\.
|
If \fBsudo\fR is passed, operate on \fB/Library/LaunchDaemons\fR (started at boot)\. Otherwise, operate on \fB~/Library/LaunchAgents (started at login)\fR\.
|
||||||
.
|
.
|
||||||
.IP
|
.IP
|
||||||
\fBHomebrew/homebrew\-services\fR
|
\fBHomebrew/homebrew\-services\fR
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user