From ae60947643722da257a59f8f16f855add307583f Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Mon, 7 Apr 2025 13:44:58 +0200 Subject: [PATCH] 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 Reported-by: Kyotaro Horiguchi Reviewed-by: David G. Johnston Discussion: https://postgr.es/m/20250326.120732.1167093737847500721.horikyota.ntt@gmail.com --- src/bin/psql/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");