Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Daniel Gustafsson <daniel@yesql.se>,
Nathan Bossart <nathandbossart@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>, Matthias Hörmann <matthias.hoermann@saltation.com>, pgsql-bugs@lists.postgresql.org
Date: 2025-10-29T15:24:46Z
Lists: pgsql-bugs
On 25.10.25 00:26, Daniel Gustafsson wrote: > While hacking on this it seemed like a good idea to move to using progname > consistently, and reduce scope in some places from global variables, but > looking at it now I'm less convinced. At the very least it should be ripped > out into its own patch but for now those changes are left in there. The --version outputs intentionally do not use progname, so that you get a proper identification of the program and version independent of what the binary might be called. Please don't change that.