pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Matthias Hörmann <matthias.hoermann@saltation.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Date: Wed, 03 Sep 2025 15:22:30 -0400
Message-ID: <842688.1756927350@sss.pgh.pa.us> (raw)
In-Reply-To: <365ACB7B-B731-4F66-B69B-1765194A5B58@yesql.se>
References: <19042-347869ae37c993f4@postgresql.org>
	<144DDCC5-8EB1-4AA2-91FB-36916898A86F@yesql.se>
	<aLgrFiwZcwCw1giD@saltation.com>
	<804476.1756911473@sss.pgh.pa.us>
	<365ACB7B-B731-4F66-B69B-1765194A5B58@yesql.se>

Daniel Gustafsson <daniel@yesql.se> writes:
> On 3 Sep 2025, at 16:57, Tom Lane <tgl@sss.pgh.pa.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





view thread (20+ messages)  latest in thread

Message-ID: <842688.1756927350@sss.pgh.pa.us>
Permalink:  ../842688.1756927350@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/842688.1756927350@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, daniel@yesql.se, matthias.hoermann@saltation.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
  In-Reply-To: <842688.1756927350@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox