1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-04 12:42:24 +03:00

initdb: properly alphabetize getopt_long options in C string

Backpatch-through: 9.5
This commit is contained in:
Bruce Momjian 2020-12-12 12:51:16 -05:00
parent 17c77c8c90
commit 5ec8a2e7c3

View 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)
{