repmgrd: ensure short option "-s" is accepted

The long option --show-pid-file was fine.
This commit is contained in:
Ian Barwick
2021-06-03 18:41:11 +09:00
parent 9349520530
commit 2af71c6426

View File

@@ -131,7 +131,7 @@ main(int argc, char **argv)
memset(pid_file, 0, MAXPGPATH);
while ((c = getopt_long(argc, argv, "?Vf:L:vdp:m", long_options, &optindex)) != -1)
while ((c = getopt_long(argc, argv, "?Vf:L:vdp:sm", long_options, &optindex)) != -1)
{
switch (c)
{