Page MenuHomeFreeBSD

D53340.id166380.diff
No OneTemporary

D53340.id166380.diff

diff --git a/share/man/man5/style.mdoc.5 b/share/man/man5/style.mdoc.5
--- a/share/man/man5/style.mdoc.5
+++ b/share/man/man5/style.mdoc.5
@@ -160,7 +160,7 @@
\&.El
.Ed
.El
-.Ss Synopsis Formatting
+.Ss SYNOPSIS Section
.Bl -dash -width ""
.It
Do not put whitespace between alternative parameters separated with a pipe
@@ -226,6 +226,32 @@
are not stylized as they do not belong to the syntax of the
.Fl -meet
flag.
+.It
+In addition to what is documented in
+.Xr mdoc 5 ,
+a SYNOPSIS section may contain a short synopsis for
+.Xr config 5 ,
+.Xr loader.conf 5 ,
+.Xr sysctl.conf 5 ,
+and
+.Xr rc.conf 5 .
+ e.g.:
+.Bd -literal -offset indent
+\&In
+\&.Xr config 5 :
+\&.Cd "options EXAMPLE"
+\&.Pp
+\&In
+\&.Xr rc.conf 5 :
+\&.Cd example_enable="YES"
+\&.Pp
+\&In
+\&.Xr loader.conf 5
+\&or
+\&.Xr sysctl.conf 5 :
+\&.Cd kern.example.X.config
+\&.Cd kern.example.debugflags
+.Ed
.El
.Ss Quoting
.Bl -dash -width ""

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 6:33 PM (4 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35376586
Default Alt Text
D53340.id166380.diff (929 B)

Event Timeline