Re: Long options for psql in 7.1.3

From: Arcady Genkin <a(dot)genkin(at)utoronto(dot)ca>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Long options for psql in 7.1.3
Date: 2001-10-05 00:13:20
Message-ID: r1z1ykjq6zj.fsf@bashful.cdf.toronto.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Peter Eisentraut <peter_e(at)gmx(dot)net> 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. ;-)
Yes, confusing it is.

[...]
> 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.

That's fine, but IMO "psql -h /var/pgsql --help" and "psql --help"
should either both work, or both not work. Of course, this is not a
huge issue, but it did make me rub my eyes (to make sure I wasn't
seeing a ghost) the first time I've encountered it. :)

Thanks,
--
Arcady Genkin

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Nathan Johnson 2001-10-05 01:22:45 natural join kills postmaster
Previous Message Peter Eisentraut 2001-10-04 22:36:51 Re: Long options for psql in 7.1.3