OSDN Git Service

-m <arg> -M weren't setup properly in getopts()...
authorMarc G. Fournier <scrappy@hub.org>
Sun, 25 May 1997 15:37:15 +0000 (15:37 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 25 May 1997 15:37:15 +0000 (15:37 +0000)
These are undocumented in the man pages though...should they be removed?

Reported by: "A. Duursma" <it@portsite.nl>

src/backend/postmaster/postmaster.c

index e2a296a..412f53c 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.45 1997/04/24 20:27:46 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.46 1997/05/25 15:37:15 scrappy Exp $
  *
  * NOTES
  *
@@ -244,7 +244,7 @@ PostmasterMain(int argc, char *argv[])
     DataDir = getenv("PGDATA");  /* default value */
     
     opterr = 0;
-    while ((opt = getopt(argc, argv, "a:B:b:D:dmM:no:p:Ss")) != EOF) {
+    while ((opt = getopt(argc, argv, "a:B:b:D:dm:Mno:p:Ss")) != EOF) {
         switch (opt) {
         case 'a': 
             /* Set the authentication system. */