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

Greg Sabino Mullane <htamfids@gmail.com>

From: Greg Sabino Mullane <htamfids@gmail.com>
To: Matthias Hörmann <matthias.hoermann@saltation.com>
Cc: Daniel Gustafsson <daniel@yesql.se>, pgsql-bugs@lists.postgresql.org
Date: 2025-09-03T20:58:08Z
Lists: pgsql-bugs
On Wed, Sep 3, 2025 at 7:48 AM Matthias Hörmann <
matthias.hoermann@saltation.com> wrote:

> 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.
>

Heavy +1 to fix this - it's always been a pet peeve of mine. Postgres tools
are not the only ones that do this, but they are definitely an outlier.

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support