aboutsummaryrefslogtreecommitdiff
path: root/man/rc-service.8
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-05-14 19:00:04 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-05-14 19:00:04 -0500
commita7f475ca04856ef8232364c5b0c3191566b0696c (patch)
treeec685e5e54af4a3c164d2440e2f357b382796f90 /man/rc-service.8
parent3c53680018c1799d0d804e241a9fa4d3b9423896 (diff)
rc-service: add a --dry-run option
This is for #225.
Diffstat (limited to 'man/rc-service.8')
-rw-r--r--man/rc-service.86
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