pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthias Hörmann <matthias.hoermann@saltation.com>
To: Daniel Gustafsson <daniel@yesql.se>
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, 3 Sep 2025 13:48:38 +0200
Message-ID: <aLgrFiwZcwCw1giD@saltation.com> (raw)
In-Reply-To: <144DDCC5-8EB1-4AA2-91FB-36916898A86F@yesql.se>
References: <19042-347869ae37c993f4@postgresql.org>
	<144DDCC5-8EB1-4AA2-91FB-36916898A86F@yesql.se>

The 2025-09-03 13:45:15, Daniel Gustafsson wrote:
> > On 3 Sep 2025, at 13:07, PG Bug reporting form <noreply@postgresql.org> wrote:
> 
> > When calling pg_restore trying to use --help at the end to see which other
> > options I might want to specify tells me that --help is an unrecognized
> > option and I am supposed to run pg_restore --help for more information.
> 
> This is the intended behaviour, --help (and --version) is parsed specially and
> must be the first parameter. We do this for all command line utilities.
> 
> --
> Daniel Gustafsson
> 

Well, the use-case that comes up quite often for me (for any commands,
not just postgres) is that I add parameters I know or remember from my
last look at --help and then want to check again what else to add, for
that it is useful to be able to use --help as the last parameter.

-- 
Mit freundlichen Grüßen,

Matthias Hörmann

fon: +49 (0) 521 - 329647-29
fax: +49 (0) 521 - 329647-40
email: matthias.hoermann@saltation.com

---------------
saltation GmbH & Co. KG | Stapenhorststraße 42b | 33615 Bielefeld
Sitz Bielefeld | Amtsgericht Bielefeld HRA 15344
Persönlich haftende Gesellschafterin:
saltation Beteiligungs-GmbH | Stapenhorststraße 42b | 33615 Bielefeld
Sitz Bielefeld | Amtsgericht Bielefeld HRB 39339
Geschäftsführer: Daniel Brün
---------------

Wir erfüllen unsere Informationspflichten gem. Artt. 13-14 DS-GVO
durch Veröffentlichung auf unserer Internetseite unter

https://www.saltation.com/de/datenschutzerklaerung.html

oder durch Zusendung auf Ihre formlose Anfrage.





view thread (20+ messages)  latest in thread

Message-ID: <aLgrFiwZcwCw1giD@saltation.com>
Permalink:  ../aLgrFiwZcwCw1giD@saltation.com/
Also on:    postgresql.org/message-id/aLgrFiwZcwCw1giD@saltation.com

 · 

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: matthias.hoermann@saltation.com, daniel@yesql.se, 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: <aLgrFiwZcwCw1giD@saltation.com>

* 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