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-history.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man/man8/zpool-history.8') diff --git a/man/man8/zpool-history.8 b/man/man8/zpool-history.8 index 73fb27449..5b0a102f3 100644 --- a/man/man8/zpool-history.8 +++ b/man/man8/zpool-history.8 @@ -31,17 +31,17 @@ .Dt ZPOOL-HISTORY 8 .Os .Sh NAME -.Nm zpool Ns Pf - Cm history +.Nm zpool-history .Nd Displays the command history of the specified ZFS storage pool(s) .Sh SYNOPSIS -.Nm +.Nm zpool .Cm history .Op Fl il .Oo Ar pool Oc Ns ... .Sh DESCRIPTION .Bl -tag -width Ds .It Xo -.Nm +.Nm zpool .Cm history .Op Fl il .Oo Ar pool Oc Ns ... -- cgit v1.2.3