summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wong <mark@2ndQuadrant.com>2020-04-05 00:55:26 +0000
committerMark Wong <mark@2ndQuadrant.com>2020-04-05 00:55:26 +0000
commitda92e3ab48912565246d7c10388b4a98b704ef33 (patch)
treec01e1700777badac7d6eaa721cb34115dddeb9db
parentdf22c1dba02aa7acb9ec62a61c22711761ceec46 (diff)
Fix name of env variable for setting colors
-rw-r--r--pg_top.1.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pg_top.1.in b/pg_top.1.in
index a7e49cf..2f9ee31 100644
--- a/pg_top.1.in
+++ b/pg_top.1.in
@@ -396,14 +396,14 @@ Size of write-ahead log location remaining to be replayed into the database
.SH COLOR
pg_top supports the use of ANSI color in its output. By default, color is
available but not used. The environment variable
-.B TOPCOLORS
+.B PG_TOPCOLORS
specifies colors to use and conditions for which they should be used.
At the present time, only numbers in the summay display area can be
colored. In a future version it will be possible to highlight numbers
in the process display area as well. The environment variable is the
only way to specify color: there is no equivalent command line option.
Note that the environment variable
-.B TOPCOLOURS
+.B PG_TOPCOLOURS
is also understood. The British spelling takes precedence. The use of
color only works on terminals that understand and process ANSI color
escape sequences.