Re: improve the help message about psql -F

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: improve the help message about psql -F
Дата
Msg-id CABRT9RAQcjHBTd3j17S+b_45Jyc01K9Lnwn7CappPAZnmQWJEQ@mail.gmail.com
обсуждение исходный текст
Ответ на improve the help message about psql -F  (Jov <amutu@amutu.com>)
Ответы Re: improve the help message about psql -F  (Jov <amutu@amutu.com>)
Список pgsql-hackers
2014/1/17 Jov <amutu@amutu.com>
> but in the psql --help,-F say:
>
>> set field separator (default: "|")

> if user don't read the offical doc carefully,he can use:
>
>> psql -F , -c 'select ...'
>
> But can't get what he want.
> It is a bad user Experience.

+1 from me, patch applies and is helpful.

After patching this line in psql --help is 82 characters long; I think
it's best to keep help screens below 80 characters wide (although
there's already 1 other line violating this rule).

I think the word "set" is pretty useless there anyway, maybe remove
that so the message becomes "field separator for unaligned output
(default: "|")"

PS: There isn't an open CommitFest to add this to. Shouldn't we always
open a new CF when the last one goes in progress? If there's no date,
it may be simply called "next"

Regards,
Marti



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Add value to error message when size extends
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Re: better atomics - v0.2