Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 39f3a9d

Browse files
committed
initdb: properly alphabetize getopt_long options in C string
Backpatch-through: 9.5
1 parent 0ec5f7e commit 39f3a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/initdb/initdb.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2999,7 +2999,7 @@ main(int argc, char *argv[])
29992999

30003000
/* process command-line options */
30013001

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

0 commit comments

Comments
 (0)