Re: improve the help message about psql -F - Mailing list pgsql-hackers

From Marti Raudsepp
Subject Re: improve the help message about psql -F
Date
Msg-id CABRT9RAQcjHBTd3j17S+b_45Jyc01K9Lnwn7CappPAZnmQWJEQ@mail.gmail.com
Whole thread Raw
In response to improve the help message about psql -F  (Jov <amutu@amutu.com>)
Responses Re: improve the help message about psql -F  (Jov <amutu@amutu.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add value to error message when size extends
Next
From: Marti Raudsepp
Date:
Subject: Re: better atomics - v0.2