Skip to content

Commit 5ec8a2e

Browse files
committed
initdb: properly alphabetize getopt_long options in C string
Backpatch-through: 9.5
1 parent 17c77c8 commit 5ec8a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3419,7 +3419,7 @@ main(int argc, char *argv[])
34193419

34203420
/* process command-line options */
34213421

3422-
while ((c = getopt_long(argc, argv, "dD:E:kL:nNU:WA:sST:X:", long_options, &option_index)) != -1)
3422+
while ((c = getopt_long(argc, argv, "A:dD:E:kL:nNWsST:U:X:", long_options, &option_index)) != -1)
34233423
{
34243424
switch (c)
34253425
{

0 commit comments

Comments
 (0)