Re: Marking options deprecated in help output - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Marking options deprecated in help output
Date
Msg-id 95693F32-77F5-4587-B47F-11D20BA8B901@yesql.se
Whole thread Raw
In response to Re: Marking options deprecated in help output  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
> On 24 Feb 2023, at 21:31, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> On 05/12/2022 11:42, Daniel Gustafsson wrote:

> How about putting the deprecated option on a separate line like this:
>
>>  -h, --host=HOSTNAME        database server host or socket directory
>>  -H                         (same as -h, deprecated)

If nothing else, it helps to keep it shorter and avoids breaking the line
between command and description, so I agree with you.  Done in the attached v2.

--
Daniel Gustafsson


Attachment

pgsql-hackers by date:

Previous
From: "Imseih (AWS), Sami"
Date:
Subject: Re: Doc update for pg_stat_statements normalization
Next
From: Tom Lane
Date:
Subject: Re: Refactoring SysCacheGetAttr to know when attr cannot be NULL