From d726897c571b4269096c2cd13af804d16d089669 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Mon, 18 Sep 2023 16:19:25 +0200 Subject: [PATCH] Fix psql's \? output for \watch It was reported as misaligned by Kyotaro, but it also needed to be turned into a single translatable phrase (like the one for \g is), as reported by Yugo. This is a new issue (commit f347ec76e2a2), so no backpatch is needed. Author: Kyotaro Horiguchi Author: Yugo NAGATA Discussion: https://postgr.es/m/20230907.142956.2038600444404289870.horikyota.ntt@gmail.com --- src/bin/psql/help.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 38c165a627..12280c0e54 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -200,9 +200,9 @@ slashUsage(unsigned short int pager) HELP0(" \\gset [PREFIX] execute query and store result in psql variables\n"); HELP0(" \\gx [(OPTIONS)] [FILE] as \\g, but forces expanded output mode\n"); HELP0(" \\q quit psql\n"); - HELP0(" \\watch [[i=]SEC] [c=N] [m=MIN]\n"); - HELP0(" execute query every SEC seconds, up to N times\n"); - HELP0(" stop if less than MIN rows are returned\n"); + HELP0(" \\watch [[i=]SEC] [c=N] [m=MIN]\n" + " execute query every SEC seconds, up to N times\n" + " stop if less than MIN rows are returned\n"); HELP0("\n"); HELP0("Help\n"); -- 2.39.5