From 56c65acd991057769fa4f2d07cec7dba82d6f218 Mon Sep 17 00:00:00 2001 From: Greg Smith Date: Mon, 6 Dec 2010 00:33:02 -0500 Subject: [PATCH] Add force option to help and docs on help --- README.rst | 1 + repmgr.c | 1 + 2 files changed, 2 insertions(+) diff --git a/README.rst b/README.rst index 93e9bdcb..053b2841 100644 --- a/README.rst +++ b/README.rst @@ -256,6 +256,7 @@ The output from this program looks like this:: -f, --config_file=PATH path to the configuration file -R, --remote-user=USERNAME database server username for rsync -w, --wal-keep-segments=VALUE minimum value for the GUC wal_keep_segments (default: 5000) + -F, --force force potentially dangerous operations to happen repmgr performs some tasks like clone a node, promote it or making follow another node and then exits. COMMANDS: diff --git a/repmgr.c b/repmgr.c index 4fc9afc1..18874c3b 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1212,6 +1212,7 @@ help(const char *progname) printf(_(" -f, --config_file=PATH path to the configuration file\n")); printf(_(" -R, --remote-user=USERNAME database server username for rsync\n")); printf(_(" -w, --wal-keep-segments=VALUE minimum value for the GUC wal_keep_segments (default: 5000)\n")); + printf(_(" -F, --force force potentially dangerous operations to happen\n")); printf(_("\n%s performs some tasks like clone a node, promote it "), progname); printf(_("or making follow another node and then exits.\n"));