Skip to content

Commit c35d7fb

Browse files
committed
Rename pg_dump -H option to -h.
1 parent 868859b commit c35d7fb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
*
2323
* IDENTIFICATION
24-
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.50 1997/10/16 04:14:00 momjian Exp $
24+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.51 1997/10/30 03:59:46 momjian Exp $
2525
*
2626
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
2727
*
@@ -113,7 +113,7 @@ usage(const char *progname)
113113
fprintf(stderr,
114114
"\t -f filename \t\t script output filename\n");
115115
fprintf(stderr,
116-
"\t -H hostname \t\t server host name\n");
116+
"\t -h hostname \t\t server host name\n");
117117
fprintf(stderr,
118118
"\t -p port \t\t server port number\n");
119119
fprintf(stderr,
@@ -483,14 +483,14 @@ main(int argc, char **argv)
483483

484484
progname = *argv;
485485

486-
while ((c = getopt(argc, argv, "f:H:p:t:vSDdDaoz")) != EOF)
486+
while ((c = getopt(argc, argv, "f:h:p:t:vSDdDaoz")) != EOF)
487487
{
488488
switch (c)
489489
{
490490
case 'f': /* output file name */
491491
filename = optarg;
492492
break;
493-
case 'H': /* server host */
493+
case 'h': /* server host */
494494
pghost = optarg;
495495
break;
496496
case 'p': /* server port */

src/man/pg_dump.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.6 1997/01/23 06:01:00 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.7 1997/10/30 03:59:59 momjian Exp $
44
.TH PG_DUMP UNIX 1/20/96 PostgreSQL PostgreSQL
55
.SH NAME
66
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
1111
filename
1212
]
1313
[\c
14-
.BR "-H"
14+
.BR "-h"
1515
hostname
1616
]
1717
[\c
@@ -65,7 +65,7 @@ pg_dump understands the following options:
6565
.BR "-f" " filename"
6666
Specifies the output file
6767
.TP
68-
.BR "-H" " hostname"
68+
.BR "-h" " hostname"
6969
Specifies the server host name
7070
.TP
7171
.BR "-p" " port"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy