From d7e489ea0a3c7caae4ada3b63c226a72ce49312f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 25 Sep 2015 11:26:01 +0900 Subject: [PATCH] Update `repmgr --help` output (per Github report #113 from renard) --- HISTORY | 3 ++- repmgr.c | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index cf4cfb90..61f34d21 100644 --- a/HISTORY +++ b/HISTORY @@ -5,9 +5,10 @@ Bugfix: standby clone --force does not empty pg_xlog (Gianni) Bugfix: autofailover with reconnect_attempts > 1 (Gianni) Bugfix: ignore comments after values (soxwellfb) - Bugfix: handle string values in 'node' parameter correctly(Gregory Duchatelet) + Bugfix: handle string values in 'node' parameter correctly (Gregory Duchatelet) Allow repmgr to be compiled with a newer libpq (Marco) Bugfix: call update_node_record_set_upstream() for STANDBY FOLLOW (Tomas) + Update `repmgr --help` output (per Github report from renard) 3.0.1 2015-04-16 Prevent repmgrd from looping infinitely if node was not registered (Ian) diff --git a/repmgr.c b/repmgr.c index 83be80cc..36f5131b 100644 --- a/repmgr.c +++ b/repmgr.c @@ -15,11 +15,11 @@ * STANDBY FOLLOW * STANDBY PROMOTE * + * WITNESS CREATE + * * CLUSTER SHOW * CLUSTER CLEANUP * - * WITNESS CREATE - * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or @@ -2381,6 +2381,7 @@ help(const char *progname) printf(_(" standby unregister - unregisters a standby in a cluster\n")); printf(_(" standby promote - promotes a specific standby to master\n")); printf(_(" standby follow - makes standby follow a new master\n")); + printf(_(" witness create - creates a new witness server\n")); printf(_(" cluster show - displays information about cluster nodes\n")); printf(_(" cluster cleanup - prunes or truncates monitoring history\n" \ " (monitoring history creation requires repmgrd\n" \