Vince Vielhaber writes:
$ psql -U
psql: option requires an argument -- U
Try -? for help.
$ psql -?
psql: No match.
$
It advertises '--help' now. (And yes, '--help' works everywhere.)
--
Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/
Vince Vielhaber [EMAIL PROTECTED] writes:
$ psql -?
psql: No match.
Odd --- I get the right thing:
$ psql -?
This is psql, the PostgreSQL interactive terminal.
Usage:
psql [options] [dbname [username]]
Options:
-a Echo all input from script
-A Unaligned table
On Sun, 19 Nov 2000, Tom Lane wrote:
Vince Vielhaber [EMAIL PROTECTED] writes:
$ psql -?
psql: No match.
Odd --- I get the right thing:
$ psql -?
This is psql, the PostgreSQL interactive terminal.
It has something to do with certain shell's expansion of ? - for the
longest time I'd
It's a shell thing: Vince is running csh (or a derivative thereof)
while Tom (and I) are running some sort of Bourne derived shell.
Vince, try:
psql -\?
Which works more universally.
Ross
On Sun, Nov 19, 2000 at 02:44:01PM -0500, Tom Lane wrote:
Vince Vielhaber [EMAIL PROTECTED] writes:
all you guy unix?
under some shells, both * and ? are expanded to matched file names in current
directory by shell,
for example FreeBSD's csh.
you should use psql -\? to get help screen, this sucks,
"?" shouldn't be used as a help screen argument.
Regards,
XuYifeng
- Original Message