| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Arcady Genkin <a(dot)genkin(at)utoronto(dot)ca> |
| Cc: | <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: Long options for psql in 7.1.3 |
| Date: | 2001-10-04 22:36:51 |
| Message-ID: | Pine.LNX.4.30.0110042217390.877-100000@peter.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Arcady Genkin writes:
> g9genarc(at)eddie:~$ psql -h /var/pgsql --help
> psql was compiled without support for long options.
> Use --help for help on invocation options.
>
> I guess that it was confused by having both options at once, since
> "psql --help" works fine (i.e. the long options *do* work).
While this message is confusing, it's factually correct. ;-)
We used to have -? as the universal help option, but that
a) doesn't work in csh
b) doesn't play well with getopt(3)
So --help was the next best (or even better IMHO) choice, and to support
it on all installations we had to give it some special treatment.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Arcady Genkin | 2001-10-05 00:13:20 | Re: Long options for psql in 7.1.3 |
| Previous Message | Allan Engelhardt | 2001-10-04 20:16:47 | Re: query plan |