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

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore
Дата
Msg-id C3707C55-9C54-47FB-90FB-E47A36F7D721@yesql.se
обсуждение исходный текст
Ответ на Re: BUG #19042: Option --help not recognized at the end of command line in pg_restore  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-bugs
> On 10 Sep 2025, at 07:26, Peter Eisentraut <peter@eisentraut.org> wrote:
>
> On 03.09.25 21:34, Andres Freund wrote:
>> So +many for recognizing --help (and I'd say -?) everywhere, not just as the
>> first argument. I never understood why we don't do that.
>
> I think in the olden days we didn't have universal getopt_long() support, so it was hardcoded.  I don't see a problem
withchanging it. 

That's probably an accurate description.  I am writing up a patch to move it
into long option processing to see what it would look like, will share soon.

--
Daniel Gustafsson




В списке pgsql-bugs по дате отправления: