mirror of
https://github.com/postgres/postgres.git
synced 2026-03-01 12:50:55 -05:00
test_escape: Fix handling of short options in getopt_long()
This addresses two errors in the module, based on the set of options supported: - '-c', for --conninfo, was not listed. - '-f', for --force-unsupported, was not listed. While on it, these are now listed in an alphabetical order. Author: Japin Li Discussion: https://postgr.es/m/ME0P300MB04451FB20CE0346A59C25CADB6FA2@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM Backpatch-through: 13
This commit is contained in:
parent
f8554dee41
commit
a68a7594ca
1 changed files with 1 additions and 1 deletions
|
|
@ -824,7 +824,7 @@ main(int argc, char *argv[])
|
|||
{NULL, 0, NULL, 0},
|
||||
};
|
||||
|
||||
while ((c = getopt_long(argc, argv, "vqh", long_options, &option_index)) != -1)
|
||||
while ((c = getopt_long(argc, argv, "c:fhqv", long_options, &option_index)) != -1)
|
||||
{
|
||||
switch (c)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue