Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Matthias Hörmann <matthias.hoermann@saltation.com>, pgsql-bugs@lists.postgresql.org
Date: 2025-09-03T19:22:30Z
Lists: pgsql-bugs
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