Re: more adequate usage msg: pg_controldata.diff

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Serguei Mokhov <mokhov(at)cs(dot)concordia(dot)ca>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: more adequate usage msg: pg_controldata.diff
Date: 2003-01-10 02:23:24
Message-ID: 200301100223.h0A2NOp00698@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > > I explained in my last message that this patch is wrong. Please revert
> > > it. (DATADIR is not an option and therefore it shouldn't be listed in the
> > > options list.)
> >
> > I tried to subtely point out that it is optional.
>
> But the help output is wrong. It lists DATADIR as an option, which it is
> not. (An option is something like -a or --foo. The other things are
> arguments.) See my message to Serguei about how to do it better.

It is my understanding that -a and the like are _flags_. PGDATA is an
optional argument, or "option" for short. I don't see how having a dash
is required to make something an option. When I do:

cat [-t -v] [file ...]

I consider "file" to be an optional argument, or option. It of course
isn't a flag.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-01-10 04:53:42 Re: insert rule doesn't see id field
Previous Message Ron Peterson 2003-01-10 02:07:07 Re: insert rule doesn't see id field