Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169280663
D55298.id173002.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D55298.id173002.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
@@ -152,73 +152,6 @@
\&.El
.Ed
.El
-.Ss Synopsis Formatting
-.Bl -dash -width ""
-.It
-Do not put whitespace between alternative parameters separated with a pipe
-.Pq Dq | ,
-e.g.:
-.Bd -literal -offset indent
-\&.Cm compression Cm on Ns | Ns Cm off
-\&.Cm install Fl -all Ns | Ns Ar portname Ar ...
-.Ed
-.Pp
-which in the SYNOPSIS section is rendered as:
-.Bd -unfilled -offset indent
-.Cm compression Cm on Ns | Ns Cm off
-.Cm install Fl -all Ns | Ns Ar portname Ar ...
-.Ed
-.It
-Use
-.Sy \&Cm
-to stylize characters that are command modifiers
-.Po e.g.,
-.Dq \&, ,
-.Dq @
-or
-.Dq "="
-.Pc .
-For example:
-.Bd -literal -offset indent
-\&.Sm off
-\&.Fl -meet Cm = Ar who Oo Cm \&, Ar who " " Ar "..." Oc Cm @ Ar where
-\&.Sm on
-.Ed
-.Pp
-which renders as:
-.Bd -filled -offset indent
-.Sm off
-.Fl -meet Cm = Ar who Oo Cm \&, Ar who " " Ar "..." Oc Cm @ Ar where
-.Sm on
-.Ed
-.Pp
-instead of:
-.Bd -literal -offset indent
-\&.Sm off
-\&.Fl -meet No = Ar who Oo , Ar who " " Ar "..." Oc @ Ar where
-\&.Sm on
-.Ed
-.Pp
-which would render as:
-.Bd -filled -offset indent
-.Sm off
-.Fl -meet No = Ar who Oo , Ar who " " Ar "..." Oc @ Ar where
-.Sm on
-.Ed
-.Pp
-It is important to realize that in the correct example,
-.Dq \&, ,
-.Dq @
-and
-.Dq =
-are stylized with
-.Sy \&Cm .
-At the same time, the square brackets
-.Pq Dq "[]"
-are not stylized as they do not belong to the syntax of the
-.Fl -meet
-flag.
-.El
.Ss Quoting
.Bl -dash -width ""
.It
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 2, 3:11 AM (3 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37858442
Default Alt Text
D55298.id173002.diff (1 KB)
Attached To
Mode
D55298: style.mdoc: Remove synopsis formatting advice
Attached
Detach File
Event Timeline
Log In to Comment