diff options
author | Bruce Momjian <bruce@momjian.us> | 2020-12-12 12:51:16 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2020-12-12 12:51:16 -0500 |
commit | 39f3a9d2ffcaafeb8ff25e0dbe9f28a657efb48e (patch) | |
tree | dcc3407e294b4aa58a94ef7d39db520f367ea9fd | |
parent | 0ec5f7e78231a621a1d96c4bfedc4a1849a6c6cc (diff) | |
download | postgresql-39f3a9d2ffcaafeb8ff25e0dbe9f28a657efb48e.tar.gz postgresql-39f3a9d2ffcaafeb8ff25e0dbe9f28a657efb48e.zip |
initdb: properly alphabetize getopt_long options in C string
Backpatch-through: 9.5
-rw-r--r-- | src/bin/initdb/initdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index ee3bfa82f48..957ef65c945 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -2999,7 +2999,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) { |