Re: more adequate usage msg: pg_controldata.diff - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: more adequate usage msg: pg_controldata.diff
Date
Msg-id Pine.LNX.4.44.0301031905121.8249-100000@localhost.localdomain
Whole thread Raw
In response to Re: more adequate usage msg: pg_controldata.diff  ("Serguei Mokhov" <mokhov@cs.concordia.ca>)
List pgsql-patches
DATADIR is not an option.  What needs to be done is that the "Usage:"
synopsis comes before the textual explanation, so you can write

Usage:
  pg_controldata DATADIR

pg_controldata does something with DATADIR.

Options:
  --...

We should do this consistently with all tools, though.

Serguei Mokhov writes:

> A better one, slightly enhancing error reporting.
>
> ----- Original Message -----
> From: "Serguei Mokhov" <mokhov@cs.concordia.ca>
> Sent: January 02, 2003 3:41 AM
>
> > Making pg_controldata's usage info more adequate.
> >
> > -s
> >
> >  pg_controldata.diff
>

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Fix for HP-UX shared library builds
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_resetxlog Hungarian message file