diff options
author | xtouqh <[email protected]> | 2020-10-22 21:28:10 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-22 11:28:10 -0700 |
commit | 1e36af8c7b217cd020b5ff0a02d9019737cc5ba4 (patch) | |
tree | b744a359d64619e6fdf357c0d86003b232656ddf /man/man8/zfs-destroy.8 | |
parent | eb02a4c6fbf25388858099fc63de98192d5d2f66 (diff) |
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 <[email protected]>
Signed-off-by: xtouqh <[email protected]>
Closes #11086
Diffstat (limited to 'man/man8/zfs-destroy.8')
-rw-r--r-- | man/man8/zfs-destroy.8 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man/man8/zfs-destroy.8 b/man/man8/zfs-destroy.8 index 99ae33d5e..b0365cc82 100644 --- a/man/man8/zfs-destroy.8 +++ b/man/man8/zfs-destroy.8 @@ -34,25 +34,25 @@ .Dt ZFS-DESTROY 8 .Os .Sh NAME -.Nm zfs Ns Pf - Cm destroy +.Nm zfs-destroy .Nd Destroys the given dataset(s), snapshot(s), or bookmark. .Sh SYNOPSIS -.Nm +.Nm zfs .Cm destroy .Op Fl Rfnprv .Ar filesystem Ns | Ns Ar volume -.Nm +.Nm zfs .Cm destroy .Op Fl Rdnprv .Ar filesystem Ns | Ns Ar volume Ns @ Ns Ar snap Ns .Oo % Ns Ar snap Ns Oo , Ns Ar snap Ns Oo % Ns Ar snap Oc Oc Oc Ns ... -.Nm +.Nm zfs .Cm destroy .Ar filesystem Ns | Ns Ar volume Ns # Ns Ar bookmark .Sh DESCRIPTION .Bl -tag -width "" .It Xo -.Nm +.Nm zfs .Cm destroy .Op Fl Rfnprv .Ar filesystem Ns | Ns Ar volume @@ -96,7 +96,7 @@ or the options, as they can destroy large portions of a pool and cause unexpected behavior for mounted file systems in use. .It Xo -.Nm +.Nm zfs .Cm destroy .Op Fl Rdnprv .Ar filesystem Ns | Ns Ar volume Ns @ Ns Ar snap Ns @@ -167,7 +167,7 @@ options, as they can destroy large portions of a pool and cause unexpected behavior for mounted file systems in use. .El .It Xo -.Nm +.Nm zfs .Cm destroy .Ar filesystem Ns | Ns Ar volume Ns # Ns Ar bookmark .Xc |