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/zfs-set.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/man8/zfs-set.8') diff --git a/man/man8/zfs-set.8 b/man/man8/zfs-set.8 index f1aeef15d..5b4348ba9 100644 --- a/man/man8/zfs-set.8 +++ b/man/man8/zfs-set.8 @@ -32,7 +32,7 @@ .\" .Dd June 30, 2019 .Dt ZFS-SET 8 -.Os Linux +.Os .Sh NAME .Nm zfs Ns Pf - Cm set .Nd Sets the property or list of properties to the given value(s) for each dataset. -- cgit v1.2.3