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

From Jov
Subject Re: improve the help message about psql -F
Date
Msg-id CADyrUxPZXvxK=0om543Rho0FBb7txVLct9ZOz-v4EXE1XZviiA@mail.gmail.com
Whole thread Raw
In response to Re: improve the help message about psql -F  (Marti Raudsepp <marti@juffo.org>)
Responses Re: improve the help message about psql -F
List pgsql-hackers
reasonable,I removed the "set",patch attached.



2014/1/20 Marti Raudsepp <marti@juffo.org>
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


Attachment

pgsql-hackers by date:

Previous
From: Rami Grossman
Date:
Subject: Hstore 2.0 patch
Next
From: David Rowley
Date:
Subject: Re: [PATCH] Negative Transition Aggregate Functions (WIP)