mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Rename pg_dump -H option to -h.
This commit is contained in:
parent
868859b7e3
commit
c35d7fb835
@ -21,7 +21,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
|
||||||
*
|
*
|
||||||
@ -113,7 +113,7 @@ usage(const char *progname)
|
|||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\t -f filename \t\t script output filename\n");
|
"\t -f filename \t\t script output filename\n");
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\t -H hostname \t\t server host name\n");
|
"\t -h hostname \t\t server host name\n");
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\t -p port \t\t server port number\n");
|
"\t -p port \t\t server port number\n");
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
@ -483,14 +483,14 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
progname = *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)
|
switch (c)
|
||||||
{
|
{
|
||||||
case 'f': /* output file name */
|
case 'f': /* output file name */
|
||||||
filename = optarg;
|
filename = optarg;
|
||||||
break;
|
break;
|
||||||
case 'H': /* server host */
|
case 'h': /* server host */
|
||||||
pghost = optarg;
|
pghost = optarg;
|
||||||
break;
|
break;
|
||||||
case 'p': /* server port */
|
case 'p': /* server port */
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
.\" This is -*-nroff-*-
|
.\" This is -*-nroff-*-
|
||||||
.\" XXX standard disclaimer belongs here....
|
.\" 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
|
.TH PG_DUMP UNIX 1/20/96 PostgreSQL PostgreSQL
|
||||||
.SH NAME
|
.SH NAME
|
||||||
pg_dump \(em dumps out a Postgres database into a script file
|
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
|
filename
|
||||||
]
|
]
|
||||||
[\c
|
[\c
|
||||||
.BR "-H"
|
.BR "-h"
|
||||||
hostname
|
hostname
|
||||||
]
|
]
|
||||||
[\c
|
[\c
|
||||||
@ -65,7 +65,7 @@ pg_dump understands the following options:
|
|||||||
.BR "-f" " filename"
|
.BR "-f" " filename"
|
||||||
Specifies the output file
|
Specifies the output file
|
||||||
.TP
|
.TP
|
||||||
.BR "-H" " hostname"
|
.BR "-h" " hostname"
|
||||||
Specifies the server host name
|
Specifies the server host name
|
||||||
.TP
|
.TP
|
||||||
.BR "-p" " port"
|
.BR "-p" " port"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user