Arcady Genkin writes:

>   g9genarc@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   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to