Page MenuHomeFreeBSD

D55298.id173002.diff
No OneTemporary

D55298.id173002.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
@@ -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

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)

Event Timeline