aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2019-02-15 14:21:43 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2019-02-15 14:21:43 -0600
commit427a1ce2995b376ed6d112c5c5b422217f815fbb (patch)
tree870ca16f825f6628d8e3877d44e7c27f07ebca20 /man
parentf43cec34ca0201031fc10b584bcb391859f302cd (diff)
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.
Diffstat (limited to 'man')
-rw-r--r--man/rc-status.84
1 files changed, 4 insertions, 0 deletions
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