diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-05-14 19:00:04 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-05-14 19:00:04 -0500 |
commit | a7f475ca04856ef8232364c5b0c3191566b0696c (patch) | |
tree | ec685e5e54af4a3c164d2440e2f357b382796f90 /man | |
parent | 3c53680018c1799d0d804e241a9fa4d3b9423896 (diff) |
rc-service: add a --dry-run option
This is for #225.
Diffstat (limited to 'man')
-rw-r--r-- | man/rc-service.8 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man/rc-service.8 b/man/rc-service.8 index 8f075de4..a0202a8e 100644 --- a/man/rc-service.8 +++ b/man/rc-service.8 @@ -35,6 +35,9 @@ .Fl e , -exists .Ar service .Nm +.Fl Z , -dry-run +.Ar service +.Nm .Fl l , -list .Nm .Fl r , -resolve @@ -68,6 +71,9 @@ return 0 if it can find otherwise -1. .Fl r , -resolve does the same and also prints the full path of the service to stdout. +.Pp +.Fl Z , -dry-run +prints out the commands it would execute rather than executing them. .Sh SEE ALSO .Xr openrc 8 , .Xr stdout 3 |