initdb: properly alphabetize getopt_long options in C string
authorBruce Momjian <bruce@momjian.us>
Sat, 12 Dec 2020 17:51:16 +0000 (12:51 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 12 Dec 2020 17:51:16 +0000 (12:51 -0500)
Backpatch-through: 9.5

src/bin/initdb/initdb.c

index 7bc475044d2a5c27a9ed3cb57a086f349791efe9..67a7042a113c1317d71c94b389dcd5a310bc04e5 100644 (file)
@@ -3419,7 +3419,7 @@ main(int argc, char *argv[])
 
    /* process command-line options */
 
-   while ((c = getopt_long(argc, argv, "dD:E:kL:nNU:WA:sST:X:", long_options, &option_index)) != -1)
+   while ((c = getopt_long(argc, argv, "A:dD:E:kL:nNWsST:U:X:", long_options, &option_index)) != -1)
    {
        switch (c)
        {