From 1e36af8c7b217cd020b5ff0a02d9019737cc5ba4 Mon Sep 17 00:00:00 2001 From: xtouqh <72357159+xtouqh@users.noreply.github.com> Date: Thu, 22 Oct 2020 21:28:10 +0300 Subject: 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 Signed-off-by: xtouqh Closes #11086 --- man/man8/zpool-destroy.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man/man8/zpool-destroy.8') diff --git a/man/man8/zpool-destroy.8 b/man/man8/zpool-destroy.8 index 9eace1983..d4fc21eae 100644 --- a/man/man8/zpool-destroy.8 +++ b/man/man8/zpool-destroy.8 @@ -31,17 +31,17 @@ .Dt ZPOOL-DESTROY 8 .Os .Sh NAME -.Nm zpool Ns Pf - Cm destroy +.Nm zpool-destroy .Nd Destroys the given ZFS storage pool, freeing up any devices for other use .Sh SYNOPSIS -.Nm +.Nm zpool .Cm destroy .Op Fl f .Ar pool .Sh DESCRIPTION .Bl -tag -width Ds .It Xo -.Nm +.Nm zpool .Cm destroy .Op Fl f .Ar pool -- cgit v1.2.3