BUG #19042: Option --help not recognized at the end of command line in pg_restore
PG Bug reporting form <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: matthias.hoermann@saltation.com
Date: 2025-09-03T11:07:24Z
Lists: pgsql-bugs
The following bug has been logged on the website: Bug reference: 19042 Logged by: Matthias Hörmann Email address: matthias.hoermann@saltation.com PostgreSQL version: 17.6 Operating system: Debian bookworm Description: 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. ``` # pg_restore --version pg_restore (PostgreSQL) 17.6 (Debian 17.6-1.pgdg12+1) # sudo -u postgres pg_restore -f /tmp/redacted_20250903_130108.pg_dump --help /usr/lib/postgresql/17/bin/pg_restore: unrecognized option '--help' pg_restore: hint: Try "pg_restore --help" for more information. ```