Re: [HACKERS] pg_dump --help

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] pg_dump --help
Date: 1999-12-16 16:31:15
Message-ID: 199912161631.LAA05695@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > #$ 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ed Loehr 1999-12-16 17:29:32 Re: [HACKERS] Finding corrupt data
Previous Message Bruce Momjian 1999-12-16 16:29:05 Re: [HACKERS] Finding corrupt data