Patch applied, with slight adjustment. New output is:
#$ pg_controldata --help
Usage:
pg_controldata [OPTION]
Options:
DATADIR show cluster control information for DATADIR
-?, --help display this help and exit
-V, --version display pg_controldata's version and exit
pg_controldata displays PostgreSQL database cluster control information.
If no data directory is specified, the environment variable PGDATA
is used.
Report bugs to <pgsql-bugs@postgresql.org>.
Also, DATADIR is optional.
---------------------------------------------------------------------------
Serguei Mokhov wrote:
> 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
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073