Re: 9.4 pg_restore --help changes

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 9.4 pg_restore --help changes
Date: 2014-08-11 17:47:28
Message-ID: CA+TgmoaWBKqGMotOiq9jJFGUXjhMQgDU5Z2v7qgsbeh1C64srA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 8, 2014 at 9:44 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> This is a valuable feature change, but I think the help output is
> unhelpful. The left side has a singular placeholder, but the right side
> talks about objects in plural. How do I actually specify multiple
> indexes? Is is --index=foo,bar? It's --index=foo --index=bar, but
> that's unclear from the help.
>
> I think it would be clearer to write something like
>
> -I, --index=NAME restore named indexes (repeat for multiple)
>
> or perhaps make a note at the bottom
>
> The options -I, -n, -P, -t, -T, --section can be combined and
> specified multiple times to select multiple objects.
>
> Other ideas?

I like the "note at the bottom" idea.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-08-11 17:52:59 Re: psql output change in 9.4
Previous Message Robert Haas 2014-08-11 17:46:07 Re: psql output change in 9.4