From 7654c6e27a0a674b74cea4699ee9435b53a56e22 Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 22 Oct 2025 14:03:34 -0400 Subject: [PATCH] More consistent man page descriptions for warning diagnostics --- man/rgbasm.1 | 4 ++-- man/rgbfix.1 | 8 ++++---- man/rgbgfx.1 | 10 +++++----- man/rgblink.1 | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/man/rgbasm.1 b/man/rgbasm.1 index 8cd68e26..7ab81382 100644 --- a/man/rgbasm.1 +++ b/man/rgbasm.1 @@ -344,9 +344,9 @@ Enables literally every warning. .Pp 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, -.Fl Wcharmap-redef +.Fl Wobsolete enables the warning that -.Fl Wno-charmap-redef +.Fl Wno-obsolete disables; and .Fl Wall enables every warning that diff --git a/man/rgbfix.1 b/man/rgbfix.1 index 34158838..aade72a2 100644 --- a/man/rgbfix.1 +++ b/man/rgbfix.1 @@ -212,7 +212,7 @@ to prevent turning all warnings into errors. .It Fl Werror= Make the specified warning or meta warning into an error. 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. This can be negated as .Fl Wno-error= @@ -234,10 +234,10 @@ Enables literally every warning. .El .Pp 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, -.Fl Wtruncation +Note that each of these flags also has a negation (for example, +.Fl Wobsolete enables the warning that -.Fl Wno-truncation +.Fl Wno-obsolete disables; and .Fl Wall enables every warning that diff --git a/man/rgbgfx.1 b/man/rgbgfx.1 index 9a6f61ee..6a5fc2a7 100644 --- a/man/rgbgfx.1 +++ b/man/rgbgfx.1 @@ -496,7 +496,7 @@ The above command could be generated from the following rule, for example: .Bd -literal -offset indent %.2bpp %.tilemap: %.flags %.png - rgbgfx -o $*.2bpp -t $*.tilemap @$*.flags $*.png + rgbgfx -o $*.2bpp -t $*.tilemap @$*.flags $*.png .Ed .Pp Since the contents of at-files are interpreted by @@ -769,7 +769,7 @@ to prevent turning all warnings into errors. .It Fl Werror= Make the specified warning or meta warning into an error. 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. This can be negated as .Fl Wno-error= @@ -791,10 +791,10 @@ Enables literally every warning. .El .Pp 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, -.Fl Wtrim-nonempty +Note that each of these flags also has a negation (for example, +.Fl Wobsolete enables the warning that -.Fl Wno-trim-nonempty +.Fl Wno-obsolete disables; and .Fl Wall enables every warning that diff --git a/man/rgblink.1 b/man/rgblink.1 index cf26ba81..57d52865 100644 --- a/man/rgblink.1 +++ b/man/rgblink.1 @@ -258,7 +258,7 @@ to prevent turning all warnings into errors. .It Fl Werror= Make the specified warning or meta warning into an error. 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. This can be negated as .Fl Wno-error= @@ -280,7 +280,7 @@ Enables literally every warning. .El .Pp 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 enables the warning that .Fl Wno-obsolete