git: b5a5ddaa4c2e - stable/12 - grdc.6: Add an ENVIRONMENT section

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Fri, 21 Apr 2023 04:47:06 UTC
The branch stable/12 has been updated by gbe:

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

commit b5a5ddaa4c2e6c2d813e1662df4b2f8ac941c61e
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-04-16 09:17:06 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-04-21 04:46:56 +0000

    grdc.6: Add an ENVIRONMENT section
    
    - Add an ENVIRONMENT section
    
    Obtained from:  OpenBSD
    
    (cherry picked from commit 991360ba49707b84889e5bfce49dfbf383088171)
---
 usr.bin/grdc/grdc.6 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/usr.bin/grdc/grdc.6 b/usr.bin/grdc/grdc.6
index 5226a6b2a9c7..269b8984ec3e 100644
--- a/usr.bin/grdc/grdc.6
+++ b/usr.bin/grdc/grdc.6
@@ -26,6 +26,18 @@ The optional
 flag tells grdc to output the time in a 12-hour format.
 In this curses mode implementation,
 the scrolling option has trouble keeping up.
+.Sh ENVIRONMENT
+.Bl -tag -width Ds
+.It Ev TZ
+The time zone to use for displaying the time.
+It is normally specified as a pathname relative to
+.Pa /usr/share/zoneinfo ,
+though see
+.Xr tzset 3
+for more information.
+If this variable is not set, the time zone is determined based on
+.Pa /etc/localtime .
+.El
 .Sh AUTHORS
 .An -nosplit
 .An Amos Shapir ,