Rename pg_dump -H option to -h.
authorBruce Momjian
Thu, 30 Oct 1997 03:59:59 +0000 (03:59 +0000)
committerBruce Momjian
Thu, 30 Oct 1997 03:59:59 +0000 (03:59 +0000)
src/bin/pg_dump/pg_dump.c
src/man/pg_dump.1

index 4f5bc86ae754d8a916c2042cebefde4176672b70..197f71897e78b21ed1e920ecbb12700ebab718d8 100644 (file)
@@ -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 - [email protected] - 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 */
index 9cefd21ba81a650422d4be6c9e8274d9888531ff..a03a91d85a2d14de061eb3e200ca259b4e03bc7a 100644 (file)
@@ -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"