Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144990820
D53340.1777106476.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
929 B
Referenced Files
None
Subscribers
None
D53340.1777106476.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 8:41 AM (16 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28427470
Default Alt Text
D53340.1777106476.diff (929 B)
Attached To
Mode
D53340: style.mdoc.5: Document use of config, rc.conf, loader.conf, and sysctl.conf in SYNOPSIS
Attached
Detach File
Event Timeline
Log In to Comment