initdb: properly alphabetize getopt_long options in C string

Backpatch-through: 9.5
pull/59/head
Bruce Momjian 5 years ago
parent 0ec5f7e782
commit 39f3a9d2ff
  1. 2
      src/bin/initdb/initdb.c

@ -2999,7 +2999,7 @@ main(int argc, char *argv[])
/* process command-line options */ /* 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) switch (c)
{ {

Loading…
Cancel
Save