postgres.git / summary / log / commit / refs

commit    035c7dfddff1197a9229559a5c6e23e2a4cbf46c
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Sat Dec 12 17:51:16 2020 +0000
First released in: 14.0, 9.5.25, 9.6.21, 10.16, 11.11, 12.6, 13.2

    initdb:  properly alphabetize getopt_long options in C string
    
    Backpatch-through: 9.5


src/bin/initdb/initdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index acf610808e3..da855129ae0 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -3094,7 +3094,7 @@ main(int argc, char *argv[]) /* process command-line options */ - while ((c = getopt_long(argc, argv, "dD:E:kL:nNU:WA:sST:X:g", long_options, &option_index)) != -1) + while ((c = getopt_long(argc, argv, "A:dD:E:gkL:nNWsST:U:X:", long_options, &option_index)) != -1) { switch (c) { [parent: 2f1997b1551a]