From f1592f009a151568e8c09f36c0f591758763c559 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 3 Jun 2021 18:41:11 +0900 Subject: [PATCH] repmgrd: ensure short option "-s" is accepted The long option --show-pid-file was fine. --- repmgrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgrd.c b/repmgrd.c index 2ea246bd..0abd7345 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -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) {