From 427a1ce2995b376ed6d112c5c5b422217f815fbb Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 15 Feb 2019 14:21:43 -0600 Subject: rc-status: add -f option to allow formatting output The -f option can be used when showing the status of services in runlevels to allow making the output more easily parsable. Currently, the .ini format is the only one supported. --- man/rc-status.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'man') diff --git a/man/rc-status.8 b/man/rc-status.8 index 68ecc49a..bfe37c23 100644 --- a/man/rc-status.8 +++ b/man/rc-status.8 @@ -17,6 +17,7 @@ .Sh SYNOPSIS .Nm .Op Fl aclsuC +.Op Fl f Ar ini .Op Ar runlevel .Sh DESCRIPTION .Nm @@ -37,6 +38,9 @@ The options are as follows: Show all runlevels and their services. .It Fl c , -crashed List all services that have crashed. +.It Fl f , -format +Select a format for the output. Currently, the only one that can be +specified is ini, which outputs in *.ini format. .It Fl l , -list List all defined runlevels. .It Fl m , -manual -- cgit v1.2.3