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

Commit 035c7df

Browse files
committed
initdb: properly alphabetize getopt_long options in C string
Backpatch-through: 9.5
1 parent 2f1997b commit 035c7df

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

30953095
/* process command-line options */
30963096

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

0 commit comments

Comments
 (0)