Skip to content

Commit add6b13

Browse files
committed
initdb: properly alphabetize getopt_long options in C string
Backpatch-through: 9.5
1 parent 1f229f4 commit add6b13

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
@@ -3147,7 +3147,7 @@ main(int argc, char *argv[])
31473147

31483148
/* process command-line options */
31493149

3150-
while ((c = getopt_long(argc, argv, "dD:E:kL:nNU:WA:sST:X:g", long_options, &option_index)) != -1)
3150+
while ((c = getopt_long(argc, argv, "A:dD:E:gkL:nNWsST:U:X:", long_options, &option_index)) != -1)
31513151
{
31523152
switch (c)
31533153
{

0 commit comments

Comments
 (0)