From: Daniel Gustafsson Date: Mon, 7 Apr 2025 11:44:58 +0000 (+0200) Subject: psql: Clarify help message for WATCH_INTERVAL X-Git-Tag: REL_18_BETA1~226 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=ae60947643722da257a59f8f16f855add307583f;p=postgresql.git 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 --- 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");