> > #$ pg_dump -h
> > pg_dump: option requires an argument -- h
> > usage: pg_dump [options] dbname
> > -a dump out only the data, no schema
> > -c clean(drop) schema prior to create
>
> --cut--
>
> $ mysqldump --help
> mysqldump Ver 4.0 Distrib 3.21.31, for pc-linux-gnu (i586)
> By Igor Romanenko & Monty & Jani. This software is in public Domain
> This software comes with ABSOLUTELY NO WARRANTY
>
> Dumping definition and data mysql database or table
> Usage: mysqldump [OPTIONS] database [tables]
>
> -#, --debug=... Output debug log. Often this is 'd:t:o,filename
> -?, --help Displays this help and exits.
> -c, --compleat-insert Use complete insert statements.
>
> .....etc.
>
> I send patch with long options next week.....
>
It must be portable. See src/bin/psql/startup.c for an example of a
portable solution.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026