initdb: complete getopt_long alphabetization
authorBruce Momjian
Sat, 12 Dec 2020 17:59:09 +0000 (12:59 -0500)
committerBruce Momjian
Sat, 12 Dec 2020 17:59:09 +0000 (12:59 -0500)
Backpatch-through: 9.5

src/bin/initdb/initdb.c

index 957ef65c9455c6356e9ff45be8d44c8447892de6..f994c4216bcdc810e9fad68d03103ae5580edebc 100644 (file)
@@ -2999,7 +2999,7 @@ main(int argc, char *argv[])
 
    /* process command-line options */
 
-   while ((c = getopt_long(argc, argv, "A:dD:E:gkL:nNWsST:U:X:", long_options, &option_index)) != -1)
+   while ((c = getopt_long(argc, argv, "A:dD:E:gkL:nNsST:U:WX:", long_options, &option_index)) != -1)
    {
        switch (c)
        {