From fb0aae183d5e46a34c5cc73fa706a30db287173f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 24 Oct 2017 13:48:38 +0900 Subject: [PATCH] Docs: update "repmgr cluster show" --- doc/repmgr-cluster-show.sgml | 2 ++ repmgr-client.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/repmgr-cluster-show.sgml b/doc/repmgr-cluster-show.sgml index 9dae8322..e902a0af 100644 --- a/doc/repmgr-cluster-show.sgml +++ b/doc/repmgr-cluster-show.sgml @@ -37,6 +37,8 @@ If the node has an unexpected role not reflected in the &repmgr; metadata, e.g. a node was manually promoted to primary, this will be highlighted with an exclamation mark, e.g.: + $ repmgr -f /etc/repmgr.conf cluster show + ID | Name | Role | Status | Upstream | Location | Connection string ----+-------+---------+----------------------+----------+----------+----------------------------------------- 1 | node1 | primary | ? unreachable | | default | host=db_node1 dbname=repmgr user=repmgr diff --git a/repmgr-client.c b/repmgr-client.c index ab5a99e3..b2292153 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -925,7 +925,7 @@ main(int argc, char **argv) runtime_options.terse, &config_file_options, argv[0]); - exit(SUCCESS); + check_cli_parameters(action); /*