From 6ce48f124aea593b77163d6f198d18bbe9093068 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sat, 29 Aug 2020 20:19:26 -0700 Subject: [PATCH] man/openrc.8: populate OPTIONS from --help output This fixes #378. --- man/openrc.8 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/man/openrc.8 b/man/openrc.8 index d448df7f..7d069b59 100644 --- a/man/openrc.8 +++ b/man/openrc.8 @@ -65,6 +65,29 @@ Instead you should use and .Xr shutdown 8 and let them call these special runlevels. +.Sh OPTIONS +.Pp +.Bl -tag -width "-o , --override" +.It Fl n , -no-stop +Do not stop any services. +.It Fl o , -override +Override the next runlevel to change into when leaving single user or boot +runlevels +.It Fl s , -service +Run the service specified with the rest of the arguments. +.It Fl S , -sys +Output the RC system type, if any. +.It Fl h , -help +Display usage information and exit. +.It Fl C , -nocolor +Disable color output. +.It Fl V , -version +Display software version. +.It Fl v , -verbose +Run verbosely. +.It Fl q , -quiet +Run quietly (repeat to suppress errors). +.El .Sh SEE ALSO .Xr openrc-run 8 , .Xr rc-status 8 ,