Re: Long options for psql in 7.1.3 - Mailing list pgsql-bugs

From greg@turnstep.com
Subject Re: Long options for psql in 7.1.3
Date
Msg-id 3BBC6CAF.24105.1CB83F3@localhost
Whole thread Raw
In response to Long options for psql in 7.1.3  (Arcady Genkin <a.genkin@utoronto.ca>)
Responses Re: Long options for psql in 7.1.3  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Here's a lovely message I got from `psql':
>
>   g9genarc@eddie:~$ psql -h /var/pgsql --help
>   psql was compiled without support for long options.
>   Use --help for help on invocation options.

Looks as though --help and --verbose always work, no
matter what the setting of HAVE_GETOPT_LONG.
Is this desired behavior? Seems fairly minor to me,
but it's confused at least one user. :)

(~ line 110 of src/bin/psql/startup.c)

Greg Sabino Mullane
greg@turnstep.com
PGP Key: 0x14964AC8 200110051402

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iQA/AwUBO7ykZbybkGcUlkrIEQLoWgCfRrAic8XuPtLUhVK01p
bjWZrA/tkAniaB
0RQqHC+el2wFO1I/Bi70WTVh
=49Hm
-----END PGP SIGNATURE-----

pgsql-bugs by date:

Previous
From: Arcady Genkin
Date:
Subject: Long options for psql in 7.1.3
Next
From: Bruce Momjian
Date:
Subject: Re: Long options for psql in 7.1.3