From 6706552ea6bdc74122b530ba5e8a6956f5160428 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Fri, 21 Aug 2020 14:55:47 -0400 Subject: 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 Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #10760 --- man/man8/zpool-split.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/man8/zpool-split.8') diff --git a/man/man8/zpool-split.8 b/man/man8/zpool-split.8 index e3ca6fe9c..d2943e6e3 100644 --- a/man/man8/zpool-split.8 +++ b/man/man8/zpool-split.8 @@ -29,7 +29,7 @@ .\" .Dd August 9, 2019 .Dt ZPOOL-SPLIT 8 -.Os Linux +.Os .Sh NAME .Nm zpool Ns Pf - Cm split .Nd Split devices off a ZFS storage pool creating a new pool -- cgit v1.2.3