patch src/bin/psql/help.c - Mailing list pgsql-hackers

From alex avriette
Subject patch src/bin/psql/help.c
Date
Msg-id 3A8E5D9C-8425-11D7-B653-003065BDE8A6@posixnap.net
Whole thread Raw
Responses Re: patch src/bin/psql/help.c
List pgsql-hackers
Per the discussion earlier re: sockets and psql


Synopsis: psql --help now returns:

[ snip ]

Connection options:
   -h [ HOSTNAME | DIR ]    specify database server host or location of
                            socket ($PGHOST, default: local socket)
   -p PORT                  specify database server port ($PGPORT,
default: 5432)
   -U NAME                  specify database user name ($PGUSER,
default: root)
   -W                       prompt for password (should happen
automatically)

Nobody complained when I asked if it was too verbose, and I think it
contributes to the helpfulness of the help. Additionally, the psql(1)
page and the psql-ref.sgml document already explain this behaviour.

I spoke with Dennis Bjorklund about this on IRC, he suggested that this
was easier for the translators, and is in the same style as pg_dump.c
(why is there no src/bin/pg_dump/help.c?).

thanks,
alex

--
alex avriette, unix geek for hire
http://envy.posixnap.net/
alex@avriette.com
Attachment

pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: 7.3 and HEAD broken for dropped columns of dropped types
Next
From: "Jenny -"
Date:
Subject: compiling postgresql