From a7f475ca04856ef8232364c5b0c3191566b0696c Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 14 May 2018 19:00:04 -0500 Subject: rc-service: add a --dry-run option This is for #225. --- man/rc-service.8 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'man') 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 -- cgit v1.2.3