aboutsummaryrefslogtreecommitdiffstats
path: root/man/man8/zpool-attach.8
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-08-21 14:55:47 -0400
committerGitHub <[email protected]>2020-08-21 11:55:47 -0700
commit6706552ea6bdc74122b530ba5e8a6956f5160428 (patch)
tree826d23b023b7676ff90e202455ed25c5d233d7c8 /man/man8/zpool-attach.8
parent64025fa3a1f0f710f7f8678f2ac459b07ed9f88f (diff)
Remove hard coded "Linux" OS from manpages
The recommended practice for `.Os` on FreeBSD is to not specify any arguments. The correct OS name is used automatically. Oddly enough, on the Linux distro I tested this on (CentOS 7), the man pager defaulted to displaying "BSD" as the OS rather than "Linux". To accommodate this, tack " Linux" back on in an install hook on Linux. This is much simpler than removing it for FreeBSD when vendored in the base system. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10760
Diffstat (limited to 'man/man8/zpool-attach.8')
-rw-r--r--man/man8/zpool-attach.82
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man8/zpool-attach.8 b/man/man8/zpool-attach.8
index 585357b96..03e04436d 100644
--- a/man/man8/zpool-attach.8
+++ b/man/man8/zpool-attach.8
@@ -29,7 +29,7 @@
.\"
.Dd May 15, 2020
.Dt ZPOOL-ATTACH 8
-.Os Linux
+.Os
.Sh NAME
.Nm zpool Ns Pf - Cm attach
.Nd Attach a new device to an existing ZFS virtual device (vdev).