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