From c35d7fb835bf1bacff173e49960fedc4304d3c08 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 30 Oct 1997 03:59:59 +0000
Subject: [PATCH] Rename pg_dump -H option to -h.

---
 src/bin/pg_dump/pg_dump.c | 8 ++++----
 src/man/pg_dump.1         | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 4f5bc86ae75..197f71897e7 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -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 */
diff --git a/src/man/pg_dump.1 b/src/man/pg_dump.1
index 9cefd21ba81..a03a91d85a2 100644
--- a/src/man/pg_dump.1
+++ b/src/man/pg_dump.1
@@ -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"
-- 
GitLab