Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 941CF1337BBC for ; Wed, 9 Mar 2011 10:54:24 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 82302-01 for ; Wed, 9 Mar 2011 14:54:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id ABEF41337B9C for ; Wed, 9 Mar 2011 10:54:16 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p29EsHG03787; Wed, 9 Mar 2011 09:54:17 -0500 (EST) From: Bruce Momjian Message-Id: <201103091454.p29EsHG03787@momjian.us> Subject: Re: Improve initdb and pg_controldata manual pages In-Reply-To: <22950.1299681636@sss.pgh.pa.us> To: Tom Lane Date: Wed, 9 Mar 2011 09:54:16 -0500 (EST) CC: PostgreSQL-documentation X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/44 X-Sequence-Number: 6477 Tom Lane wrote: > Bruce Momjian writes: > > I have applied the attached patch to improve the initdb and > > pg_controldata manual pages. Patch from gabrielle . > > This seems like the most bizarre choice you could have made. > It now looks like the preferred spelling of initdb's switch, > for instance, is > > initdb --pgdata= /path/name > > ie, *both* an equal sign and a space. Please rethink this. Well, it actually looks like this: initdb [option...] --pgdata= | -D directory and this gets back to whether we are going to show '=' for long switches, which I am waiting on a reply about. If we are, we probably have to accept the above output --- if not, it will be removed along with other cases. I have now removed the '=' from initdb, but it is an open issue. Also, keep in mind that the --help output often shows '=', e.g. from pg_dump: -E, --encoding=ENCODING dump the data in encoding ENCODING -n, --schema=SCHEMA dump the named schema(s) only -N, --exclude-schema=SCHEMA do NOT dump the named schema(s) -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +