From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Andres Freund <andres(at)2ndquadrant(dot)com>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>, MauMau <maumau307(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Erik Rijkers <er(at)xs4all(dot)nl> |
Subject: | Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop] |
Date: | 2014-09-04 07:21:13 |
Message-ID: | CAFj8pRCta2VSDjWZ2bj2w7v75PNxrgE=VPRGgMQAU9oWVqFJrw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi
here is a second variant with support --help=variables
Regards
Pavel
2014-09-04 4:25 GMT+02:00 Robert Haas <robertmhaas(at)gmail(dot)com>:
> On Thu, Aug 28, 2014 at 11:20 AM, Andres Freund <andres(at)2ndquadrant(dot)com>
> wrote:
> >> >* How about making it --help=variables instead of --help-variables?
> >>
> >> -1, help is not a variable to be assigned imho
> >
> > I don't think variable assignment is a good mental model for long
> > commandline arguments. And it's not like I'm the first to come up with
> > an extensible --help. Check e.g. gcc.
> >
> > But anyway, I guess I've lost that argument.
>
> I think it mostly depends on how far we think we might extend it. I
> mean, --help-variables is fine as a parallel to --help. But if we're
> eventually going to have help for 12 things, --help=TOPIC is a lot
> better than 12 separate switches. So +0.5 for your proposal from me.
>
> --
> Robert Haas
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
Attachment | Content-Type | Size |
---|---|---|
help-variables-12.patch | text/x-patch | 21.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alexey Klyukin | 2014-09-04 07:33:02 | Re: implement subject alternative names support for SSL connections |
Previous Message | Ants Aasma | 2014-09-04 07:09:30 | Re: postgresql latency & bgwriter not doing its job |