Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Matthias Hörmann <matthias(dot)hoermann(at)saltation(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Date: 2025-09-03 19:22:30
Message-ID: 842688.1756927350@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
> On 3 Sep 2025, at 16:57, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I'd be in favor of recognizing
>> --help (though probably not -?) in any argument position.

> Any particular reason to restrict -? from this?

I'm not set on that either way. It just seems like --help is
quite unambiguous and unlikely to be a typo, whereas I'm less
sure about -?. I won't stand in the way of a consensus to
do this for both.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2025-09-03 19:34:36 Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Previous Message Daniel Gustafsson 2025-09-03 19:09:00 Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore