pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Peter Eisentraut <peter_e@gmx.net>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: use of '=' in long options documentation
Date: Wed, 09 Mar 2011 10:55:13 -0600
Message-ID: <4D775C91020000250003B6E7@gw.wicourts.gov> (raw)
In-Reply-To: <201103091647.p29Gl1J13261@momjian.us>
References: <1299685443.20647.4.camel@fsopti579.F-Secure.com>
	<201103091647.p29Gl1J13261@momjian.us>

Bruce Momjian <bruce@momjian.us> 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



view thread (6+ messages)  latest in thread

Message-ID: <4D775C91020000250003B6E7@gw.wicourts.gov>
Permalink:  ../4D775C91020000250003B6E7@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4D775C91020000250003B6E7@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-docs@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, peter_e@gmx.net, bruce@momjian.us
  Subject: Re: use of '=' in long options documentation
  In-Reply-To: <4D775C91020000250003B6E7@gw.wicourts.gov>
  References: <1299685443.20647.4.camel@fsopti579.F-Secure.com> <201103091647.p29Gl1J13261@momjian.us> <4D775C91020000250003B6E7@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox