Fix pg_recvlogical to accept the documented -I instead only --startpos.
authorAndres Freund <andres@anarazel.de>
Sun, 25 May 2014 16:47:05 +0000 (18:47 +0200)
committerAndres Freund <andres@anarazel.de>
Mon, 26 May 2014 05:25:48 +0000 (07:25 +0200)
commitbf2e70ba6c0175e5a676b6aa37e49915d8918a63
tree2f29dd3722c1543f3aea6411f721cd47c774b909
parent0a5faaa90718b0ce259f43bfae8d629cc040a67c
Fix pg_recvlogical to accept the documented -I instead only --startpos.

The bug was caused by omitting 'I:' from the short argument list to
getopt_long(). To make similar bugs in the future less likely reorder
options in --help, long and short option lists to be in the same,
alphabetical within groups, order.

Report and fix by Michael Paquier, some additional reordering by me.
src/bin/pg_basebackup/pg_recvlogical.c