Re: Possibly hard-to-read message

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2025-03-26T09:10:57Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. psql: Reword help message and docs for WATCH_INTERVAL

  2. psql: Clarify help message for WATCH_INTERVAL

  3. psql: Make default \watch interval configurable

> On 26 Mar 2025, at 04:52, David G. Johnston <david.g.johnston@gmail.com> wrote:
> On Tue, Mar 25, 2025 at 8:07 PM Kyotaro Horiguchi <horikyota.ntt@gmail.com <mailto:horikyota.ntt@gmail.com>> wrote:

>> 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'm on board with tweaking this.

How about the attached?  We already have "(default: X)" in other places so this
aligns it better while simplifying the language.

--
Daniel Gustafsson