From ac64526bd3bf55272d12970d3c5536042607ce98 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 17 Aug 2017 14:25:43 +0900 Subject: [PATCH] Finalize "repmgr node --help" output --- repmgr-action-node.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/repmgr-action-node.c b/repmgr-action-node.c index 9893fc0c..cf8a6164 100644 --- a/repmgr-action-node.c +++ b/repmgr-action-node.c @@ -1531,10 +1531,11 @@ parse_server_action(const char *action_name) /* - * Intended mainly for "internal" use by `node switchover`, which + * Intended mainly for "internal" use by "standby switchover", which * calls this on the target server to excute pg_rewind on a demoted - * primary with a forked (sic) timeline. Does not currently check - * whether this is a useful thing to do. + * primary with a forked (sic) timeline. This function does not + * currently check whether this is a useful thing to do (however + * "standby switchover" will perform a check before calling it). * * TODO: make this into a more generally useful function. */ @@ -2102,14 +2103,4 @@ do_node_help(void) puts(""); - printf(_("NODE REJOIN\n")); - puts(""); - printf(_(" \"node rejoin\" .\n")); - puts(""); - - printf(_("NODE SERVICE\n")); - puts(""); - printf(_(" \"node service\" .\n")); - puts(""); - }