Add force option to help and docs on help

This commit is contained in:
Greg Smith
2010-12-06 00:33:02 -05:00
parent 9c238f64c3
commit 56c65acd99
2 changed files with 2 additions and 0 deletions

View File

@@ -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:

View File

@@ -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"));