From c40c1591734d2e435bca2a050809072370f47e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6ppner?= Date: Tue, 14 May 2024 13:00:37 +0200 Subject: [PATCH] lsdasd: Fix missing hyphen escapes in the man page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hyphens are converted by groff to a different unicode character leading to failing command execution of copy-pasted options or examples. Ensure that all hyphens are properly escaped. Reviewed-by: Stefan Haberland Signed-off-by: Jan Höppner Signed-off-by: Steffen Eiden --- zconf/lsdasd.8 | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/zconf/lsdasd.8 b/zconf/lsdasd.8 index fe7cac8d..acd37628 100644 --- a/zconf/lsdasd.8 +++ b/zconf/lsdasd.8 @@ -10,56 +10,56 @@ lsdasd \- list channel attached direct access storage devices (DASD). .SH SYNOPSIS .TP 8 .B lsdasd -.RB [ -h ] +.RB [ \-h ] .TP 8 .B lsdasd -.RB [ -a ] -.RB [ -b ] -.RB [ -s ] -.RB [ -v ] -.RB [ -l ] -.RB [ -c ] -.RB [ -u ] -.RB [ --version ] -.RI [ " [" "] ...]]" +.RB [ \-a ] +.RB [ \-b ] +.RB [ \-s ] +.RB [ \-v ] +.RB [ \-l ] +.RB [ \-c ] +.RB [ \-u ] +.RB [ \-\-version ] +.RI [ " [" "] ...]]" .SH DESCRIPTION The lsdasd command provides an overview of available DASD devices. .SH OPTIONS .TP 8 -.BR -h | --help +.BR \-h | \-\-help Print help text. .TP -.BR -s | --short +.BR \-s | \-\-short Suppresses leading "0.0." for bus IDs. .TP -.BR -a | --offline +.BR \-a | \-\-offline Include all (offline) devices. .TP -.BR -b | --base +.BR \-b | \-\-base Include only base devices. .TP -.BR -c | --compat +.BR \-c | \-\-compat Old output of lsdasd for compatibility. .TP -.BR -l | --long +.BR \-l | \-\-long Extended output of lsdasd including UID and attributes. .TP -.BR -u | --uid +.BR \-u | \-\-uid Output includes and is sorted by UID. .TP -.BR -H | --host-acces +.BR \-H | \-\-host\-acces Show information about all hosts using this device. .TP -.BR -v | --verbose +.BR \-v | \-\-verbose Only for compatibility (and maybe future) use. This option currently does nothing. .TP -\fB--version\fR +\fB\-\-version\fR Print the version of the s390-tools package and the command. .TP -\fB\fR = +\fB\fR = Bus ID of the device(s) that should be displayed. .SH EXAMPLES