projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1997b
)
initdb: properly alphabetize getopt_long options in C string
author
Bruce Momjian
Sat, 12 Dec 2020 17:51:16 +0000
(12:51 -0500)
committer
Bruce Momjian
Sat, 12 Dec 2020 17:51:16 +0000
(12:51 -0500)
Backpatch-through: 9.5
src/bin/initdb/initdb.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/initdb/initdb.c
b/src/bin/initdb/initdb.c
index acf610808e3b176aa1dbfe8eb5c65cffe325c04f..da855129ae09accaf00601f64e3e24a7748452a2 100644
(file)
--- a/
src/bin/initdb/initdb.c
+++ b/
src/bin/initdb/initdb.c
@@
-3094,7
+3094,7
@@
main(int argc, char *argv[])
/* process command-line options */
- while ((c = getopt_long(argc, argv, "
dD:E:kL:nNU:WA:sST:X:g
", long_options, &option_index)) != -1)
+ while ((c = getopt_long(argc, argv, "
A:dD:E:gkL:nNWsST:U:X:
", long_options, &option_index)) != -1)
{
switch (c)
{