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-userspace.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/man8/zfs-userspace.8') diff --git a/man/man8/zfs-userspace.8 b/man/man8/zfs-userspace.8 index 50bca9115..a8477d16a 100644 --- a/man/man8/zfs-userspace.8 +++ b/man/man8/zfs-userspace.8 @@ -32,7 +32,7 @@ .\" .Dd June 30, 2019 .Dt ZFS-USERSPACE 8 -.Os Linux +.Os .Sh NAME .Nm zfs Ns Pf - Cm userspace .Nd Displays space consumed by, and quotas on, each user or group in the specified filesystem or snapshot. -- cgit v1.2.3