diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-06-11 05:13:12 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-06-11 05:13:12 +0000 |
commit | 8de72414ea78cf765ccca89c11c4a0fc57e3a6a8 (patch) | |
tree | eba60195d0530f3360cc23ad8a43d46d2f3041ac /src/bin/psql/help.c | |
parent | b83f711dec3ddacfa3ded9341c5247825799ddfa (diff) | |
download | postgresql-8de72414ea78cf765ccca89c11c4a0fc57e3a6a8.tar.gz postgresql-8de72414ea78cf765ccca89c11c4a0fc57e3a6a8.zip |
Document the -h client flag can use a socket directory as well as a host
name.
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 89a6f679d81..97a55f6d4d9 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.72 2003/04/14 16:23:36 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.73 2003/06/11 05:13:11 momjian Exp $ */ #include "postgres_fe.h" #include "common.h" @@ -123,7 +123,7 @@ usage(void) puts(_("\nConnection options:")); /* Display default host */ env = getenv("PGHOST"); - printf(_(" -h HOSTNAME specify database server host (default: %s)\n"), + printf(_(" -h HOSTNAME specify database server host or socket directory (default: %s)\n"), env ? env : _("local socket")); /* Display default port */ env = getenv("PGPORT"); |