diff options
author | Pavan Deolasee | 2016-04-01 06:24:59 +0000 |
---|---|---|
committer | Pavan Deolasee | 2016-10-18 10:05:04 +0000 |
commit | a9f99b9bba896c07b6bca8c45e7884bb666c3765 (patch) | |
tree | 3846848734ec818fe8d9a58a692b76c7d28e9dba | |
parent | 8be04894e90feee6f1cc7b45fb345d8fbeb7053f (diff) |
Accept -m option to pgxc_ctl, but let "stop" command handle the rest
-rw-r--r-- | contrib/pgxc_ctl/pgxc_ctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pgxc_ctl/pgxc_ctl.c b/contrib/pgxc_ctl/pgxc_ctl.c index cb59eed1ad..ff8848717e 100644 --- a/contrib/pgxc_ctl/pgxc_ctl.c +++ b/contrib/pgxc_ctl/pgxc_ctl.c @@ -464,7 +464,7 @@ int main(int argc, char *argv[]) while(1) { int option_index = 0; - c = getopt_long(argc, argv, "i:o:c:vVl:L:h", long_options, &option_index); + c = getopt_long(argc, argv, "m:i:o:c:vVl:L:h", long_options, &option_index); if (c == -1) break; @@ -512,6 +512,8 @@ int main(int argc, char *argv[]) case 'h': help_opt = 1; break; + case 'm': + break; default: fprintf(stderr, "Invalid optin value, received code 0%o\n", c); exit(1); |