Thread: pg_ctl initdb takes options, but pg_ctl --help doesn't document them?

pg_ctl initdb takes options, but pg_ctl --help doesn't document them?

From
Jon Nelson
Date:
Taking a look at PostgreSQL HEAD today, I noticed that pg_ctl
documents that pg_ctl initdb takes OPTIONS but doesn't document them
(unlike for start and others).

Is this intentional?


-- 
Jon



Re: pg_ctl initdb takes options, but pg_ctl --help doesn't document them?

From
Peter Eisentraut
Date:
On 8/15/13 2:58 PM, Jon Nelson wrote:
> Taking a look at PostgreSQL HEAD today, I noticed that pg_ctl
> documents that pg_ctl initdb takes OPTIONS but doesn't document them
> (unlike for start and others).
> 
> Is this intentional?

The man page tells you that those are the options for regular initdb.  I
don't think we should replicate the initdb --help output in pg_ctl.
Perhaps it can be made a bit clearer without any duplication.