mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
repmgrd: ensure short option "-s" is accepted
The long option --show-pid-file was fine.
This commit is contained in:
@@ -131,7 +131,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
memset(pid_file, 0, MAXPGPATH);
|
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)
|
switch (c)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user