Re: 9.4 pg_restore --help changes - Mailing list pgsql-hackers

From Robert Haas
Subject Re: 9.4 pg_restore --help changes
Date
Msg-id CA+TgmoaWBKqGMotOiq9jJFGUXjhMQgDU5Z2v7qgsbeh1C64srA@mail.gmail.com
Whole thread Raw
In response to 9.4 pg_restore --help changes  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: 9.4 pg_restore --help changes
List pgsql-hackers
On Fri, Aug 8, 2014 at 9:44 PM, Peter Eisentraut <peter_e@gmx.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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: psql output change in 9.4
Next
From: Tom Lane
Date:
Subject: Re: psql output change in 9.4