Re: Long options for psql in 7.1.3

Поиск
Список
Период
Сортировка
От Arcady Genkin
Тема Re: Long options for psql in 7.1.3
Дата
Msg-id r1z1ykjq6zj.fsf@bashful.cdf.toronto.edu
обсуждение исходный текст
Ответ на Re: Long options for psql in 7.1.3  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Long options for psql in 7.1.3
Re: Long options for psql in 7.1.3
Список pgsql-bugs
Peter Eisentraut <peter_e@gmx.net> writes:

> >   g9genarc@eddie:~$ psql -h /var/pgsql --help
> >   psql was compiled without support for long options.
> >   Use --help for help on invocation options.
> >
> > I guess that it was confused by having both options at once, since
> > "psql --help" works fine (i.e. the long options *do* work).
>
> While this message is confusing, it's factually correct. ;-)
Yes, confusing it is.

[...]
> So --help was the next best (or even better IMHO) choice, and to support
> it on all installations we had to give it some special treatment.

That's fine, but IMO "psql -h /var/pgsql --help" and "psql --help"
should either both work, or both not work.  Of course, this is not a
huge issue, but it did make me rub my eyes (to make sure I wasn't
seeing a ghost) the first time I've encountered it. :)

Thanks,
--
Arcady Genkin

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

Предыдущее
От: Nathan Johnson
Дата:
Сообщение: natural join kills postmaster
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #475: "hard coded" tk.h search