Widen mancheck target to all pages, fix them

mandoc: ./man/man8/zfs-mount-generator.8.in:188:2:
        ERROR: skipping end of block that is not open: RE
mandoc: ./man/man8/zfs_ids_to_path.8:38:2:
        ERROR: skipping unknown macro: .LP
mandoc: ./man/man8/zfs_ids_to_path.8:48:2:
        ERROR: inserting missing end of block: Sh breaks Bl
mandoc: ./man/man8/zfs-wait.8:69:2:
        ERROR: skipping end of block that is not open: El
mandoc: ./man/man8/zfs-program.8:460:2:
        ERROR: inserting missing end of block: It breaks Bd
mandoc: ./man/man8/zfs-mount-generator.8:188:2:
        ERROR: skipping end of block that is not open: RE
mandoc: ./man/man8/zstream.8:43:2:
        ERROR: skipping unknown macro: .LP
mandoc: ./man/man8/zstream.8:107:2:
        ERROR: inserting missing end of block: Sh breaks Bl
mandoc: ./man/man8/zstream.8:107:2:
        ERROR: inserting missing end of block: Sh breaks Bl
make: *** [Makefile:1529: mancheck] Error 1

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Issue #12017
This commit is contained in:
наб 2021-05-10 17:24:59 +02:00 committed by Brian Behlendorf
parent 37086897b0
commit 618a65cd7a
6 changed files with 6 additions and 8 deletions

View File

@ -169,10 +169,8 @@ checkbashisms:
PHONY += mancheck PHONY += mancheck
mancheck: mancheck:
@if type mandoc > /dev/null 2>&1; then \ @if type mandoc > /dev/null 2>&1; then \
find ${top_srcdir}/man/man8 -type f -name 'zfs.8' \ find ${top_srcdir}/man/man8 -type f -name '*[1-9]*' \
-o -name 'zpool.8' -o -name 'zdb.8' \ -exec mandoc -Tlint -Werror {} \+; \
-o -name 'zgenhostid.8' | \
xargs mandoc -Tlint -Werror; \
else \ else \
echo "skipping mancheck because mandoc is not installed"; \ echo "skipping mancheck because mandoc is not installed"; \
fi fi

View File

@ -185,7 +185,6 @@ If set to
.BR on , .BR on ,
do not generate a mount unit for this dataset. do not generate a mount unit for this dataset.
.RE
See also See also
.BR systemd.mount (5) .BR systemd.mount (5)

View File

@ -457,6 +457,7 @@ newbookmark (string)
.Bd -ragged -compact -offset "xxxx" .Bd -ragged -compact -offset "xxxx"
Full name of the new bookmark. Full name of the new bookmark.
.El .El
.Ed
.It Sy zfs.check submodule .It Sy zfs.check submodule
For each function in the zfs.sync submodule, there is a corresponding zfs.check For each function in the zfs.sync submodule, there is a corresponding zfs.check
function which performs a "dry run" of the same operation. function which performs a "dry run" of the same operation.

View File

@ -66,6 +66,5 @@ Note that the internal delete queue does not finish draining until
all large files have had time to be fully destroyed and all open file all large files have had time to be fully destroyed and all open file
handles to unlinked files are closed. handles to unlinked files are closed.
.El .El
.El
.Sh SEE ALSO .Sh SEE ALSO
.Xr lsof 8 .Xr lsof 8

View File

@ -35,7 +35,6 @@
.Nm .Nm
.Sh DESCRIPTION .Sh DESCRIPTION
.Pp .Pp
.LP
The The
.Sy zfs_ids_to_path .Sy zfs_ids_to_path
utility converts a provided objset and object id into a path to the file that utility converts a provided objset and object id into a path to the file that
@ -45,6 +44,7 @@ those ids refer to.
Verbose. Verbose.
Print the dataset name and the file path within the dataset separately. This Print the dataset name and the file path within the dataset separately. This
will work correctly even if the dataset is not mounted. will work correctly even if the dataset is not mounted.
.El
.Sh SEE ALSO .Sh SEE ALSO
.Xr zfs 8 , .Xr zfs 8 ,
.Xr zdb 8 .Xr zdb 8

View File

@ -40,7 +40,6 @@
.Ar resume_token .Ar resume_token
.Sh DESCRIPTION .Sh DESCRIPTION
.sp .sp
.LP
The The
.Sy zstream .Sy zstream
utility manipulates zfs send streams, which are the output of the utility manipulates zfs send streams, which are the output of the
@ -104,6 +103,8 @@ Therefore, a deduplicated send stream can be received by running:
.It Fl v .It Fl v
Verbose. Verbose.
Print summary of converted records. Print summary of converted records.
.El
.El
.Sh SEE ALSO .Sh SEE ALSO
.Xr zfs 8 , .Xr zfs 8 ,
.Xr zfs-send 8 , .Xr zfs-send 8 ,