From 6bc0b023aa377c7b29758a98aced1a69af8d8702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6ppner?= Date: Tue, 14 May 2024 13:05:14 +0200 Subject: [PATCH] dasdstat: 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/dasdstat.8 | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/zconf/dasdstat.8 b/zconf/dasdstat.8 index 656fb7e2..f6c36238 100644 --- a/zconf/dasdstat.8 +++ b/zconf/dasdstat.8 @@ -10,18 +10,18 @@ dasdstat \- read or modify the statistics of the DASD device driver. .SH SYNOPSIS .TP 8 .B dasdstat -.RB [ -h ] +.RB [ \-h ] .TP 8 .B dasdstat -.RB [ -e ] -.RB [ -d ] -.RB [ -r ] -.RB [ -i ] -.RB [ -l ] -.RB [ -c ] -.RB [ -w ] -.RB [ -V ] -.RB [ -v ] +.RB [ \-e ] +.RB [ \-d ] +.RB [ \-r ] +.RB [ \-i ] +.RB [ \-l ] +.RB [ \-c ] +.RB [ \-w ] +.RB [ \-V ] +.RB [ \-v ] .RI [ " [" "] ...]]" .SH DESCRIPTION @@ -41,35 +41,35 @@ available statistics. .SH OPTIONS .TP 8 -.BR -h | --help +.BR \-h | \-\-help Print help text. .TP -.BR -e | --enable +.BR \-e | \-\-enable Enable the statistics. .TP -.BR -d | --disable +.BR \-d | \-\-disable Disable the statistics. .TP -.BR -r | --reset +.BR \-r | \-\-reset Reset the statistics. .TP -.BR -i | --directory +.BR \-i | \-\-directory Specify the directory in which the statistics can be found. .TP -.BR -l | --long +.BR \-l | \-\-long Print more detailed information, e.g differentiate between read and write requests. .TP -.BR -c | --columns " \fI\fR" +.BR \-c | \-\-columns " \fI\fR" Format the output in a table with the given number of columns. .TP -.BR -w | --column-width " \fI\fR" +.BR \-w | \-\-column\-width " \fI\fR" Set the minimum width of the columns in the output table. .TP -.BR -V | --verbose +.BR \-V | \-\-verbose Print more verbose information. .TP -.BR -v | --version +.BR \-v | \-\-version Print the version of the s390-tools package and the command. .TP \fB\fR = @@ -81,12 +81,12 @@ Name of a statistic that the command should work on. Print a statistics table for each enabled statistic. .RE -\fBdasdstat -e\fR +\fBdasdstat \-e\fR .RS Enable all DASD statistics. .RE -\fBdasdstat -l dasda 0.0.1800 0.0.18fe 0.0.18ff\fR +\fBdasdstat \-l dasda 0.0.1800 0.0.18fe 0.0.18ff\fR .RS Print a detailed statistics table for DASD block device dasda and CCW devices 0.0.1800, 0.0.18fe and 0.0.18ff. A typical scenario for this