Content-Length: 257230 | pFad | http://github.com/postgrespro/postgres/commit/a68a7594ca3adc22899a5d06629fb2d0fa6724bc

DC test_escape: Fix handling of short options in getopt_long() · postgrespro/postgres@a68a759 · GitHub
Skip to content

Commit a68a759

Browse files
committed
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
1 parent f8554de commit a68a759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/modules/test_escape/test_escape.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ main(int argc, char *argv[])
824824
{NULL, 0, NULL, 0},
825825
};
826826

827-
while ((c = getopt_long(argc, argv, "vqh", long_options, &option_index)) != -1)
827+
while ((c = getopt_long(argc, argv, "c:fhqv", long_options, &option_index)) != -1)
828828
{
829829
switch (c)
830830
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a68a7594ca3adc22899a5d06629fb2d0fa6724bc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy