From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp> |
Cc: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: psql help message contains excessive indentations |
Date: | 2023-09-07 11:06:35 |
Message-ID: | 202309071106.6rpueowo2j37@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2023-Sep-07, Yugo NAGATA wrote:
> Yes. So, I mean how about fixing \watch description as the attached patch.
> 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");
Yeah, this looks right to me -- the whole help entry as a single
translatable unit, instead of three separately translatable lines.
--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Estoy de acuerdo contigo en que la verdad absoluta no existe...
El problema es que la mentira sí existe y tu estás mintiendo" (G. Lama)
From | Date | Subject | |
---|---|---|---|
Next Message | Nazir Bilal Yavuz | 2023-09-07 11:09:35 | Add resource intensiveness as a reason to not running tests by default |
Previous Message | Ashutosh Bapat | 2023-09-07 11:04:20 | Re: [BackendXidGetPid] only access allProcs when xid matches |