Re: Make --help output fit within 80 columns per line

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>, Masahiro Ikeda <ikedamsh(at)oss(dot)nttdata(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Make --help output fit within 80 columns per line
Date: 2023-09-21 07:45:22
Message-ID: c42695b0-1471-7d7a-1e60-04541673d507@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 31.08.23 09:47, torikoshia wrote:
> BTW, psql --help outputs the content of PGHOST, which caused a failure
> in the test:
>
> ```
> -h, --host=HOSTNAME      database server host or socket directory
>                          (default:
> "/var/folders/m7/9snkd5b54cx_b4lxkl9ljlcc0000gn/T/LobrmSUf7t")
> ```
>
> It may be overkill, added a logic for removing the content of PGHOST.

I wonder, should we remove this? We display the
environment-variable-based defaults in psql --help, but not for any
other programs. This is potentially misleading.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-09-21 07:57:12 Re: bug fix and documentation improvement about vacuumdb
Previous Message Michael Paquier 2023-09-21 07:40:00 Re: [PoC] pg_upgrade: allow to upgrade publisher node