git: 39ad6e289f06 - main - swapinfo.8: Mention BLOCKSIZE in the ENVIRONMENT section

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Fri, 08 Jul 2022 19:35:36 UTC
The branch main has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=39ad6e289f062fc8da239c0372f49b21f0911060

commit 39ad6e289f062fc8da239c0372f49b21f0911060
Author:     Felix Johnson <felix.the.red@gmail.com>
AuthorDate: 2022-07-08 19:33:02 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-07-08 19:35:33 +0000

    swapinfo.8: Mention BLOCKSIZE in the ENVIRONMENT section
    
    Copy the ENVIRONMENT section from df(1) to swapinfo(8), except
    that the --si option is removed for swapinfo.
    
    PR:             235225
    Reported by:    0mp
    MFC after:      3 days
---
 usr.sbin/pstat/pstat.8 | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8
index c6cc99e5571b..db00b10c3bc5 100644
--- a/usr.sbin/pstat/pstat.8
+++ b/usr.sbin/pstat/pstat.8
@@ -35,7 +35,7 @@
 .\"     @(#)pstat.8	8.5 (Berkeley) 5/13/94
 .\" $FreeBSD$
 .\"
-.Dd October 11, 2014
+.Dd July 8, 2022
 .Dt PSTAT 8
 .Os
 .Sh NAME
@@ -229,6 +229,26 @@ is also specified,
 extract the name list from the specified system instead of the default,
 which is the kernel image the system has booted from.
 .El
+.Sh ENVIRONMENT
+.Bl -tag -width BLOCKSIZE
+.It Ev BLOCKSIZE
+If the environment variable
+.Ev BLOCKSIZE
+is set, and the
+.Fl h , k ,
+or
+.Fl m
+options are not specified, the block counts will be displayed in units of
+that block size.
+If
+.Ev BLOCKSIZE
+is not set, and the
+.Fl h , k ,
+or
+.Fl m
+options are not specified, the block counts will be displayed in 512-byte
+blocks.
+.El
 .Sh SEE ALSO
 .Xr ps 1 ,
 .Xr systat 1 ,