aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ebdrup Jensen <debdrup@FreeBSD.org>2021-01-16 21:19:20 +0000
committerDaniel Ebdrup Jensen <debdrup@FreeBSD.org>2021-01-16 22:21:05 +0000
commitbce5d6aa2485925c37240289a5479812a5bb46ff (patch)
treeebad1e7dd9d31ae00922e7e83baa89e3d07a166a
parentc6a112cf84d2bf55101c0fb61c4fd1e3cf5d3cc8 (diff)
downloadsrc-bce5d6aa2485925c37240289a5479812a5bb46ff.tar.gz
src-bce5d6aa2485925c37240289a5479812a5bb46ff.zip
service.8: Use entire section of literally displayed text
.Dl indents literal display text for one line, but .Bd can do it for a whole subsection. Pointy hat to: debdrup Reported by: 0mp Reviewed by: 0mp Differential Revision: https://reviews.freebsd.org/D28198
-rw-r--r--usr.sbin/service/service.88
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/service/service.8 b/usr.sbin/service/service.8
index a804ec390b6b..329bcb823f1d 100644
--- a/usr.sbin/service/service.8
+++ b/usr.sbin/service/service.8
@@ -132,9 +132,11 @@ service -rv
The following programmable completion entry can be used in
.Xr csh 1
for the names and common commands of the rc.d scripts:
-.Dl "complete service 'c/-/(e l r v)/' 'p/1/`service -l`/' \e"
-.Dl " 'n/*/(start stop reload restart \e"
-.Dl " status rcvar onestart onestop)/'"
+.Bd -literal -offset indent
+complete service 'c/-/(e l r v)/' 'p/1/`service -l`/' \e
+ 'n/*/(start stop reload restart \e
+ status rcvar onestart onestop)/'
+.Ed
.Pp
The following programmable completion entry can be use in
.Xr bash 1