Skip to content

Commit 8e02a4f

Browse files
xosevpmwilck
authored andcommitted
multipath-tools: fix mandoc errors/warnings in man pages
Fix the following errors and warnings reported by mandoc linting: $ mandoc -W all -T lint man_page.X | grep -v "STYLE: input text line longer than 80 bytes" mandoc: ./libmpathpersist/mpath_persistent_reserve_in.3:22:2: WARNING: skipping paragraph macro: PP empty mandoc: ./libmpathpersist/mpath_persistent_reserve_out.3:22:2: WARNING: skipping paragraph macro: PP empty mandoc: ./mpathpersist/mpathpersist.8.in:172:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./mpathpersist/mpathpersist.8.in:215:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./multipathd/multipathc.8:19:15: STYLE: whitespace at end of input line mandoc: ./multipathd/multipathd.8.in:573:2: WARNING: skipping paragraph macro: PP empty mandoc: ./multipathd/multipathd.8.in:573:2: WARNING: skipping paragraph macro: PP empty mandoc: ./multipath/multipath.conf.5.in:130:2: ERROR: skipping end of block that is not open: RE mandoc: ./multipath/multipath.conf.5.in:1979:2: ERROR: skipping end of block that is not open: RE mandoc: ./multipath/multipath.conf.5.in:89:2: WARNING: skipping paragraph macro: PP empty mandoc: ./multipath/multipath.conf.5.in:131:2: WARNING: skipping paragraph macro: PP empty mandoc: ./multipath/multipath.conf.5.in:130:2: WARNING: skipping paragraph macro: br at the end of SH mandoc: ./multipath/multipath.conf.5.in:1577:2: WARNING: skipping paragraph macro: PP empty mandoc: ./multipath/multipath.conf.5.in:1770:2: WARNING: skipping paragraph macro: PP empty Cc: Martin Wilck <mwilck@suse.com> Cc: Benjamin Marzinski <bmarzins@redhat.com> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> Cc: DM_DEVEL-ML <dm-devel@lists.linux.dev> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> Reviewed-by: Martin Wilck <mwilck@suse.com>
1 parent 0de5e7a commit 8e02a4f

6 files changed

Lines changed: 1 addition & 12 deletions

File tree

libmpathpersist/mpath_persistent_reserve_in.3

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ mpath_persistent_reserve_in \- send PRIN command to DM device
1919
.B #include <mpath_persist.h>
2020
.P
2121
.BI "int mpath_persistent_reserve_in" "(int fd, int rq_servact, struct prin_resp *resp, int noisy, int verbose)"
22-
.P
2322
.
2423
.
2524
.\" ----------------------------------------------------------------------------

libmpathpersist/mpath_persistent_reserve_out.3

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ mpath_persistent_reserve_out \- send PROUT command to DM device
1919
.B #include <mpath_persist.h>
2020
.P
2121
.BI "int mpath_persistent_reserve_out" "(int fd, int rq_servact, int rq_scope, unsigned int rq_type, struct prout_param_descriptor *paramp, int noisy, int verbose)"
22-
.P
2322
.
2423
.
2524
.\" ----------------------------------------------------------------------------

mpathpersist/mpathpersist.8.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ PR In: maximum allocation length. LEN is a decimal number between 0 and 8192.
169169
.SH EXAMPLE
170170
.\" ----------------------------------------------------------------------------
171171
.
172-
.PP
173172
Register the key \(dq123abc\(dq for the /dev/mapper/mpath9 device:
174173
.RS
175174
\fBmpathpersist --out --register --param-sark=\fI123abc /dev/mapper/mpath9\fR
@@ -212,7 +211,6 @@ Remove current reservation, and unregister all registered keys from all I_T nexu
212211
.SH BATCH FILES
213212
.\" ----------------------------------------------------------------------------
214213
.
215-
.PP
216214
The option \fI--batch-file\fR (\fI-f\fR) sets an input file to be processed
217215
by \fBmpathpersist\fR. Grouping commands in batch files can provide a speed
218216
improvement in particular on large installments, because \fBmpathpersist\fR

multipath/multipath.conf.5.in

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ the indentation shown in the above example is helpful for human readers but
8888
not mandatory.
8989
.LP
9090
.
91-
.LP
9291
.B Note on regular expressions:
9392
The \fI@CONFIGFILE@\fR syntax allows many attribute values to be specified as POSIX
9493
Extended Regular Expressions (see \fBregex\fR(7)). These regular expressions
@@ -127,8 +126,6 @@ vendor, product, and revision.
127126
.B overrides
128127
This section defines values for attributes that should override the
129128
device-specific settings for all devices.
130-
.RE
131-
.LP
132129
.
133130
.
134131
.\" ----------------------------------------------------------------------------
@@ -1620,7 +1617,6 @@ section:
16201617
.B ghost_delay
16211618
.RE
16221619
.PD
1623-
.LP
16241620
.
16251621
.
16261622
.\" ----------------------------------------------------------------------------
@@ -1819,7 +1815,6 @@ section:
18191815
.B all_tg_pt
18201816
.RE
18211817
.PD
1822-
.LP
18231818
.
18241819
.
18251820
.\" ----------------------------------------------------------------------------
@@ -2034,7 +2029,6 @@ as integrity failures or congestion with so-called Fabric Performance
20342029
Impact Notifications (FPINs).On receiving the fpin notifications through ELS
20352030
multipathd will move the affected path and port states to marginal.
20362031
.
2037-
.RE
20382032
.LP
20392033
See the documentation
20402034
of the individual options above for details.

multipathd/multipathc.8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ multipathc \- Interactive client for multipathd
1616
.SH SYNOPSIS
1717
.\" ----------------------------------------------------------------------------
1818
.
19-
.B multipathc
19+
.B multipathc
2020
.RB [\|
2121
.IR timeout
2222
.RB \|]

multipathd/multipathd.8.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,6 @@ The device appears usable, but it being delayed for marginal path checking.
570570
.I undef
571571
The device either is not part of a multipath device, or its path checker has
572572
not yet run.
573-
.PP
574573
.RE
575574
.TP
576575
.B %s

0 commit comments

Comments
 (0)