aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2025-04-07 13:44:58 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2025-04-07 13:44:58 +0200
commitae60947643722da257a59f8f16f855add307583f (patch)
treeb07ce5f500623d4bc40649aaf55ad14ed42dd82a
parentd6f118444db320d13b70e7fbb8eac3ab2113b93d (diff)
downloadpostgresql-ae60947643722da257a59f8f16f855add307583f.tar.gz
postgresql-ae60947643722da257a59f8f16f855add307583f.zip
psql: Clarify help message for WATCH_INTERVAL
The help message for WATCH_INTERVAL was hard to interpret and didn't follow the style of other messages, this updates it to nake it fit in better and be easier to interpret. Author: Daniel Gustafsson <daniel@yesql.se> Reported-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: David G. Johnston <david.g.johnston@gmail.com> Discussion: https://postgr.es/m/20250326.120732.1167093737847500721.horikyota.ntt@gmail.com
-rw-r--r--src/bin/psql/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index fe96e3e1de9..daa725246c9 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -461,7 +461,7 @@ helpVariables(unsigned short int pager)
" VERSION_NUM\n"
" psql's version (in verbose string, short string, or numeric format)\n");
HELP0(" WATCH_INTERVAL\n"
- " number of seconds \\watch by default waits between executing the query buffer\n");
+ " if set to a number, overrides the default two second \\watch interval\n");
HELP0("\nDisplay settings:\n");
HELP0("Usage:\n");