Re: improve the help message about psql -F

From: Jov <amutu(at)amutu(dot)com>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: improve the help message about psql -F
Date: 2014-01-20 12:04:11
Message-ID: CADyrUxPZXvxK=0om543Rho0FBb7txVLct9ZOz-v4EXE1XZviiA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

reasonable,I removed the "set",patch attached.

Jov
blog: http:amutu.com/blog <http://amutu.com/blog>

2014/1/20 Marti Raudsepp <marti(at)juffo(dot)org>

> 2014/1/17 Jov <amutu(at)amutu(dot)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 Content-Type Size
field_separator_set_help_improve-v2.patch.gz application/x-gzip 365 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message MauMau 2014-01-20 12:08:55 Re: [bug fix] pg_ctl always uses the same event source
Previous Message Boszormenyi Zoltan 2014-01-20 11:06:23 Re: using rpmbuild with PostgreSQL 9.2.6 source code