mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Rename pg_dump -H option to -h.
This commit is contained in:
parent
868859b7e3
commit
c35d7fb835
@ -21,7 +21,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.50 1997/10/16 04:14:00 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.51 1997/10/30 03:59:46 momjian Exp $
|
||||
*
|
||||
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
|
||||
*
|
||||
@ -113,7 +113,7 @@ usage(const char *progname)
|
||||
fprintf(stderr,
|
||||
"\t -f filename \t\t script output filename\n");
|
||||
fprintf(stderr,
|
||||
"\t -H hostname \t\t server host name\n");
|
||||
"\t -h hostname \t\t server host name\n");
|
||||
fprintf(stderr,
|
||||
"\t -p port \t\t server port number\n");
|
||||
fprintf(stderr,
|
||||
@ -483,14 +483,14 @@ main(int argc, char **argv)
|
||||
|
||||
progname = *argv;
|
||||
|
||||
while ((c = getopt(argc, argv, "f:H:p:t:vSDdDaoz")) != EOF)
|
||||
while ((c = getopt(argc, argv, "f:h:p:t:vSDdDaoz")) != EOF)
|
||||
{
|
||||
switch (c)
|
||||
{
|
||||
case 'f': /* output file name */
|
||||
filename = optarg;
|
||||
break;
|
||||
case 'H': /* server host */
|
||||
case 'h': /* server host */
|
||||
pghost = optarg;
|
||||
break;
|
||||
case 'p': /* server port */
|
||||
|
@ -1,6 +1,6 @@
|
||||
.\" This is -*-nroff-*-
|
||||
.\" XXX standard disclaimer belongs here....
|
||||
.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.6 1997/01/23 06:01:00 momjian Exp $
|
||||
.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.7 1997/10/30 03:59:59 momjian Exp $
|
||||
.TH PG_DUMP UNIX 1/20/96 PostgreSQL PostgreSQL
|
||||
.SH NAME
|
||||
pg_dump \(em dumps out a Postgres database into a script file
|
||||
@ -11,7 +11,7 @@ pg_dump \(em dumps out a Postgres database into a script file
|
||||
filename
|
||||
]
|
||||
[\c
|
||||
.BR "-H"
|
||||
.BR "-h"
|
||||
hostname
|
||||
]
|
||||
[\c
|
||||
@ -65,7 +65,7 @@ pg_dump understands the following options:
|
||||
.BR "-f" " filename"
|
||||
Specifies the output file
|
||||
.TP
|
||||
.BR "-H" " hostname"
|
||||
.BR "-h" " hostname"
|
||||
Specifies the server host name
|
||||
.TP
|
||||
.BR "-p" " port"
|
||||
|
Loading…
Reference in New Issue
Block a user