Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id AD38A1337C36 for ; Wed, 9 Mar 2011 12:55:41 -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 68508-01-3 for ; Wed, 9 Mar 2011 16:55:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id E0FE61337C04 for ; Wed, 9 Mar 2011 12:55:17 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Wed, 09 Mar 2011 10:55:16 -0600 Message-Id: <4D775C91020000250003B6E7@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Wed, 09 Mar 2011 10:55:13 -0600 From: "Kevin Grittner" To: "Peter Eisentraut" , "Bruce Momjian" Cc: "PostgreSQL-documentation" Subject: Re: use of '=' in long options documentation References: <1299685443.20647.4.camel@fsopti579.F-Secure.com> <201103091647.p29Gl1J13261@momjian.us> In-Reply-To: <201103091647.p29Gl1J13261@momjian.us> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/51 X-Sequence-Number: 6484 Bruce Momjian wrote: > Peter Eisentraut wrote: >> On tis, 2011-03-08 at 22:32 -0500, Bruce Momjian wrote: >>> Looking at our ref pages, I see some manual pages specify long >>> options that take arguments using '=', e.g. initdb.sgml: >>> >>> --long-opt=opt >>> >>> and some do not, e.g. pg_dump.sgml: >>> >>> --long-opt opt >>> >>> So, which should we use, for consistency? >> >> Using = is more common usage, I think. > > Yeah! Someone chimed in with a vote! I will update the docs, but > not adjust any summary that has a space after the equals, e.g. > initdb. I agree that using = is more common; but also that anything suggesting that a space after the = should be avoided. I think it's preferable to show the = when possible without misleading, and omit it when it would mislead. Accuracy should trump consistency here IMO. I think it's OK to omit in summary and show in detail. -Kevin