Hello,
I came across the following help message added in commit 1a759c83278:
+ HELP0(" WATCH_INTERVAL\n"
+ " number of seconds \\watch by default waits between
executing the query buffer\n");
It took me a little while to understand it. I read "executing the
query buffer" as referring to executions of the query buffer, which
clarified that the wait occurs between each execution.
> number of seconds \\watch waits by default between executions of the query
> buffer
I’m just wondering if the message might be worth revising. If it’s
already clear enough, please feel free to disregard this.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
>From 523d624f0b3efe94f58934a3c4508c4cc39735bd Mon Sep 17 00:00:00 2001
From: Kyotaro Horiguchi <[email protected]>
Date: Wed, 26 Mar 2025 11:58:37 +0900
Subject: [PATCH] Minor rewording of WATCH_INTERVAL help message
Improve phrasing for better readability of the recently added message.
---
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..62edfb121c7 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");
+ " number of seconds \\watch waits by default between executions of the query buffer\n");
HELP0("\nDisplay settings:\n");
HELP0("Usage:\n");
--
2.43.5