initdb: properly alphabetize getopt_long options in C string
authorBruce Momjian <[email protected]>
Sat, 12 Dec 2020 17:51:16 +0000 (12:51 -0500)
committerBruce Momjian <[email protected]>
Sat, 12 Dec 2020 17:51:16 +0000 (12:51 -0500)
Backpatch-through: 9.5

src/bin/initdb/initdb.c

index df3d058d00e9ad4ec564928153fb4cefe736e505..1b25b89394d83acf81e6471dcf066b6b543d0e82 100644 (file)
@@ -3034,7 +3034,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:nNsST:U:WX:", long_options, &option_index)) != -1)
    {
        switch (c)
        {