From ab96c4c2d18c118d644ab998016101ebc45fcb4a Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 12 Dec 2020 12:51:16 -0500 Subject: [PATCH] initdb: properly alphabetize getopt_long options in C string Backpatch-through: 9.5 --- src/bin/initdb/initdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index df3d058d00e..1b25b89394d 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -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) { -- 2.39.5