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

From Michael Paquier
Subject Re: Fix help option of contrib/oid2name
Date
Msg-id F61CA13D-8D58-4041-A8BD-1FF15E129807@paquier.xyz
Whole thread Raw
In response to Re: Fix help option of contrib/oid2name  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Fix help option of contrib/oid2name
List pgsql-hackers

On August 17, 2018 10:53:48 PM GMT+09:00, Tom Lane <tgl@sss.pgh.pa.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
stilldocumented? Or would it be better if it is not documented, mapping silently? 
--
Michael


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Getting NOT NULL constraint from pg_attribute
Next
From: Tom Lane
Date:
Subject: Re: Fix help option of contrib/oid2name