Re: Make --help output fit within 80 columns per line - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Make --help output fit within 80 columns per line
Date
Msg-id c42695b0-1471-7d7a-1e60-04541673d507@eisentraut.org
Whole thread Raw
In response to Re: Make --help output fit within 80 columns per line  (torikoshia <torikoshia@oss.nttdata.com>)
Responses Re: Make --help output fit within 80 columns per line
List 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.




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PoC] pg_upgrade: allow to upgrade publisher node
Next
From: Daniel Gustafsson
Date:
Subject: Re: bug fix and documentation improvement about vacuumdb