Re: Fix help option of contrib/oid2name - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix help option of contrib/oid2name
Date
Msg-id 14459.1534514028@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix help option of contrib/oid2name  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Fix help option of contrib/oid2name
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2018-Aug-17, Tatsuro Yamada wrote:
>> only oid2name
>> - Replace -H with -h

> I think this one is a bad idea, as it'll break scripts.

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.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Facility for detecting insecure object naming
Next
From: Peter Eisentraut
Date:
Subject: Re: Pre-v11 appearances of the word "procedure" in v11 docs