From 40d9df5cc8b1aff30f72a96127d61e1809e86d67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6ppner?= Date: Wed, 12 Mar 2025 09:51:49 +0100 Subject: [PATCH] opticsmon: Add missing macro definition in man page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .CL macro was copied from another man page but it is not defined in the opticsmon man page: $ man --warnings -E UTF-8 -l -Tutf8 -Z opticsmon/opticsmon.8 troff::70: warning: macro 'CL' not defined Add the missing definition to fix this. Github-ID: https://github.com/ibm-s390-linux/s390-tools/issues/170 Reviewed-by: Steffen Eiden Signed-off-by: Jan Höppner --- opticsmon/opticsmon.8 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/opticsmon/opticsmon.8 b/opticsmon/opticsmon.8 index 1801de9d..ea7b060f 100644 --- a/opticsmon/opticsmon.8 +++ b/opticsmon/opticsmon.8 @@ -16,6 +16,19 @@ . if !'\\$1'' .IP "\fB\-\-\\$1\fP \\*[args]" 4 . PD .. +.\" Macro for inserting code line. +.\" .CL +.de CL +. ds pfont \fP +. nh +. na +. ft CW +\\$* +. ft \\*[pfont] +. ad +. hy +. br +.. . .TH opticsmon 8 "Oct 2024" s390-tools zpcictl . @@ -67,8 +80,7 @@ on". .B Example: Extract module information for the first adapter -.CL -opticsmon --module-info | jq -r '.adapters[0].netdevs[0].optics.module_info' | base64 -d | hexdump -C +.CL opticsmon --module-info | jq -r '.adapters[0].netdevs[0].optics.module_info' | base64 -d | hexdump -C .PP .PP .