summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-12-12 12:51:16 -0500
committerBruce Momjian <bruce@momjian.us>2020-12-12 12:51:16 -0500
commit5ec8a2e7c3bf5af67e2fff68a709d01add16ebfc (patch)
treee1195f308c484a7d5d7247f24de20a61434875ae /src
parent17c77c8c90f7c566a8f42e0809e425072d8f26b7 (diff)
initdb: properly alphabetize getopt_long options in C string
Backpatch-through: 9.5
Diffstat (limited to 'src')
-rw-r--r--src/bin/initdb/initdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 7bc475044d2..67a7042a113 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -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)
{