More consistent man page descriptions for warning diagnostics

This commit is contained in:
Rangi
2025-10-22 14:03:34 -04:00
parent 400375b2e5
commit 7654c6e27a
4 changed files with 13 additions and 13 deletions

View File

@@ -344,9 +344,9 @@ Enables literally every warning.
.Pp .Pp
The following warnings are actual warning flags; with each description, the corresponding warning flag is included. The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
Note that each of these flags also has a negation (for example, Note that each of these flags also has a negation (for example,
.Fl Wcharmap-redef .Fl Wobsolete
enables the warning that enables the warning that
.Fl Wno-charmap-redef .Fl Wno-obsolete
disables; and disables; and
.Fl Wall .Fl Wall
enables every warning that enables every warning that

View File

@@ -212,7 +212,7 @@ to prevent turning all warnings into errors.
.It Fl Werror= .It Fl Werror=
Make the specified warning or meta warning into an error. Make the specified warning or meta warning into an error.
A warning's name is appended A warning's name is appended
.Pq example: Fl Werror=overwrite , .Pq example: Fl Werror=obsolete ,
and this warning is implicitly enabled and turned into an error. and this warning is implicitly enabled and turned into an error.
This can be negated as This can be negated as
.Fl Wno-error= .Fl Wno-error=
@@ -234,10 +234,10 @@ Enables literally every warning.
.El .El
.Pp .Pp
The following warnings are actual warning flags; with each description, the corresponding warning flag is included. The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
Note that each of these flag also has a negation (for example, Note that each of these flags also has a negation (for example,
.Fl Wtruncation .Fl Wobsolete
enables the warning that enables the warning that
.Fl Wno-truncation .Fl Wno-obsolete
disables; and disables; and
.Fl Wall .Fl Wall
enables every warning that enables every warning that

View File

@@ -769,7 +769,7 @@ to prevent turning all warnings into errors.
.It Fl Werror= .It Fl Werror=
Make the specified warning or meta warning into an error. Make the specified warning or meta warning into an error.
A warning's name is appended A warning's name is appended
.Pq example: Fl Werror=embedded , .Pq example: Fl Werror=obsolete ,
and this warning is implicitly enabled and turned into an error. and this warning is implicitly enabled and turned into an error.
This can be negated as This can be negated as
.Fl Wno-error= .Fl Wno-error=
@@ -791,10 +791,10 @@ Enables literally every warning.
.El .El
.Pp .Pp
The following warnings are actual warning flags; with each description, the corresponding warning flag is included. The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
Note that each of these flag also has a negation (for example, Note that each of these flags also has a negation (for example,
.Fl Wtrim-nonempty .Fl Wobsolete
enables the warning that enables the warning that
.Fl Wno-trim-nonempty .Fl Wno-obsolete
disables; and disables; and
.Fl Wall .Fl Wall
enables every warning that enables every warning that

View File

@@ -258,7 +258,7 @@ to prevent turning all warnings into errors.
.It Fl Werror= .It Fl Werror=
Make the specified warning or meta warning into an error. Make the specified warning or meta warning into an error.
A warning's name is appended A warning's name is appended
.Pq example: Fl Werror=assert , .Pq example: Fl Werror=obsolete ,
and this warning is implicitly enabled and turned into an error. and this warning is implicitly enabled and turned into an error.
This can be negated as This can be negated as
.Fl Wno-error= .Fl Wno-error=
@@ -280,7 +280,7 @@ Enables literally every warning.
.El .El
.Pp .Pp
The following warnings are actual warning flags; with each description, the corresponding warning flag is included. The following warnings are actual warning flags; with each description, the corresponding warning flag is included.
Note that each of these flag also has a negation (for example, Note that each of these flags also has a negation (for example,
.Fl Wobsolete .Fl Wobsolete
enables the warning that enables the warning that
.Fl Wno-obsolete .Fl Wno-obsolete