mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Fix bug: -D options implies -d option.
This commit is contained in:
parent
8c2f099ab5
commit
e67cc8a346
@ -7,7 +7,7 @@
|
|||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.11 1996/11/14 10:23:34 bryanh Exp $
|
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.12 1996/11/22 04:32:41 bryanh Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -319,6 +319,7 @@ BootstrapMain(int argc, char *argv[])
|
|||||||
switch (flag) {
|
switch (flag) {
|
||||||
case 'D':
|
case 'D':
|
||||||
DataDir = optarg;
|
DataDir = optarg;
|
||||||
|
break;
|
||||||
case 'd':
|
case 'd':
|
||||||
DebugMode = 1; /* print out debugging info while parsing */
|
DebugMode = 1; /* print out debugging info while parsing */
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user