mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-30 10:44:09 +03:00
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:
@@ -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 ...
|
||||
|
||||
Reference in New Issue
Block a user