test_escape: Fix handling of short options in getopt_long()
authorMichael Paquier <[email protected]>
Wed, 19 Feb 2025 00:45:54 +0000 (09:45 +0900)
committerMichael Paquier <[email protected]>
Wed, 19 Feb 2025 00:45:54 +0000 (09:45 +0900)
commita68a7594ca3adc22899a5d06629fb2d0fa6724bc
tree1792061600eb4b28c884e3665badd16f95c67fe4
parentf8554dee417ffc4540c94cf357f7bf7d4b6e5d80
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
src/test/modules/test_escape/test_escape.c