Re: Fix help option of contrib/oid2name

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tatsuro Yamada <yamada(dot)tatsuro(at)lab(dot)ntt(dot)co(dot)jp>,Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>,pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fix help option of contrib/oid2name
Date: 2018-08-18 01:39:32
Message-ID: F61CA13D-8D58-4041-A8BD-1FF15E129807@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On August 17, 2018 10:53:48 PM GMT+09:00, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Well, we can't remove the -H option, for that reason. But I think
> we could get away with repurposing -h to also mean "--host", rather
> than "--help" as it is now. Seems unlikely that any scripts are
> depending on it to mean --help, nor are users likely to expect that
> when none of our other programs treat it that way.

Yeah, I don't see much point in mapping -h to --help. Let's map silently -H to --host then. Would you prefer if -H is still documented? Or would it be better if it is not documented, mapping silently?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-08-18 01:52:33 Re: Fix help option of contrib/oid2name
Previous Message Tom Lane 2018-08-18 01:02:09 Re: Getting NOT NULL constraint from pg_attribute