Properly format NAME subsection of zfs/zpool subcommands

Use proper names (i.e. zfs-allow and zpool-add) in NAME subsections
of zfs/zpool subcommands instead of current "pretty-printed" ones as
makewhatis utilities (or some implementations of it, namely the one
from mandoc suite used in FreeBSD) look not only at the document title
but also in NAME subsection, adding zfs(8)/zpool(8) to search results
which is not correct. (Common sense and other utilities splitting
subcommands in multiple man pages, e.g. git, do the same.)

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: xtouqh <xtouqh@hotmail.com>
Closes #11086
This commit is contained in:
xtouqh
2020-10-22 21:28:10 +03:00
committed by Brian Behlendorf
parent 73511e3dde
commit 79bfba2fa8
53 changed files with 251 additions and 250 deletions
+5 -5
View File
@@ -31,22 +31,22 @@
.Dt ZPOOL-OFFLINE 8
.Os
.Sh NAME
.Nm zpool Ns Pf - Cm offline
.Nm zpool-offline
.Nd Take a physical device in a ZFS storage pool offline
.Sh SYNOPSIS
.Nm
.Nm zpool
.Cm offline
.Op Fl f
.Op Fl t
.Ar pool Ar device Ns ...
.Nm
.Nm zpool
.Cm online
.Op Fl e
.Ar pool Ar device Ns ...
.Sh DESCRIPTION
.Bl -tag -width Ds
.It Xo
.Nm
.Nm zpool
.Cm offline
.Op Fl f
.Op Fl t
@@ -68,7 +68,7 @@ Temporary.
Upon reboot, the specified physical device reverts to its previous state.
.El
.It Xo
.Nm
.Nm zpool
.Cm online
.Op Fl e
.Ar pool Ar device Ns ...