gbranden pushed a commit to branch master
in repository groff.

commit fbe8432f251b265b89f3416bc39e743384258505
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Apr 27 00:13:55 2026 -0500

    [doc,man]: Clarify `pnr` request description.
---
 doc/groff.texi.in    | 15 ++++++++-------
 man/groff.7.man      | 13 +++++++------
 man/groff_diff.7.man | 16 +++++++++-------
 3 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index da6220aad..117a34ace 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -22042,14 +22042,15 @@ and diversions and their lengths in characters or 
nodes.
 @Defreq {pnr, [@Var{reg} @r{@dots{}}]}
 @cindex dumping registers (@code{pnr})
 @cindex registers, dumping (@code{pnr})
-Report the name and value and,
-if its type is numeric,
-the autoincrement amount and assigned format of each register
-@var{reg},
-or,
-without arguments,
-those of all defined registers,
+Report the name,
+value,
+and
+(as applicable)
+autoincrement amount and assigned format of each register
+@var{reg}
 to the standard error stream.
+If arguments are omitted,
+report the foregoing properties of all defined registers.
 @endDefreq
 
 @Defreq {pstream, }
diff --git a/man/groff.7.man b/man/groff.7.man
index 2bf39e356..39befadd2 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -4767,15 +4767,16 @@ Report the names,
 values,
 and
 (as applicable)
-autoincrement amounts and
-assigned formats of all defined registers to the standard error stream.
+autoincrement amounts and assigned formats
+of all defined registers to the standard error stream.
 .
 .TPx
 .REQ .pnr "reg \fR\&.\|.\|.\&\fP"
-Report the name and value and,
-if its type is numeric,
-the autoincrement amount and assigned format,
-of each register
+Report the name,
+value,
+and
+(as applicable)
+autoincrement amount and assigned format of each register
 .I reg
 to the standard error stream.
 .
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index c84ce9a56..7fa08c383 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -4076,15 +4076,17 @@ and lacks a line number and margin character
 .TP
 .BR .pnr \~[\c
 .IR reg \~.\|.\|.]
-Report the name and value and,
-if its type is numeric,
-the autoincrement amount and assigned format of each register
-.IR reg ,
-or,
-without arguments,
-those of all defined registers,
+Report the name,
+value,
+and
+(as applicable)
+autoincrement amount and assigned format of each register
+.I reg
 to the standard error stream.
 .
+If arguments are omitted,
+report the foregoing properties of all defined registers.
+.
 .
 .TP
 .BI .psbb \~file

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to