Looking at a translation of the cpio man page I saw what looked like a missing end tag for the --owner option.

Testing with "man cpio" showed that this was present in cpio man page, causing subsequent "][" to also be underlined together with "USER".

See attached patch for suggested fix.


Regards,
Anders Jonsson
From d77040afc4d4d85d758cda266b11ddc98d1effce Mon Sep 17 00:00:00 2001
From: Anders Jonsson <[email protected]>
Date: Sat, 29 Apr 2023 18:25:00 +0200
Subject: Style fix for man page

---
 doc/cpio.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/cpio.1 b/doc/cpio.1
index 84032e9..bfa04ea 100644
--- a/doc/cpio.1
+++ b/doc/cpio.1
@@ -45,7 +45,7 @@ cpio \- copy files to and from archives
 [\fB\-\-verbose\fR] [\fB\-\-block\-size=\fIBLOCKS\fR]
 [\fB\-\-swap\-halfwords\fR] [\fB\-\-io\-size=\fIBYTES\fR]
 [\fB\-\-pattern\-file=\fIFILE\fR] [\fB\-\-format=\fIFORMAT\fR]
-[\fB\-\-owner=\fR[\fIUSER][\fB:.\fR][\fIGROUP\fR]]
+[\fB\-\-owner=\fR[\fIUSER\fR][\fB:.\fR][\fIGROUP\fR]]
 [\fB\-\-no\-preserve\-owner\fR] [\fB\-\-message=\fIMESSAGE\fR]
 [\fB\-\-force\-local\fR] [\fB\-\-no\-absolute\-filenames\fR] [\fB\-\-sparse\fR]
 [\fB\-\-only\-verify\-crc\fR] [\fB\-\-to\-stdout\fR] [\fB\-\-quiet\fR]
-- 
2.39.2

Reply via email to