repmgr: add --help output and documentation for --wait-sync

This commit is contained in:
Ian Barwick
2016-09-28 14:22:26 +09:00
parent fa10fd8493
commit b9f52e74eb
2 changed files with 14 additions and 0 deletions

View File

@@ -5571,6 +5571,8 @@ do_help(void)
" PostgreSQL data directory\n"));
printf(_(" -w, --wal-keep-segments (standby clone) minimum value for the GUC\n" \
" wal_keep_segments (default: %s)\n"), DEFAULT_WAL_KEEP_SEGMENTS);
printf(_(" --wait-sync[=VALUE] (standby register) wait for the node record to synchronise to the\n"\
" standby (optional timeout in seconds)\n"));
printf(_(" -W, --wait (standby follow) wait for a master to appear\n"));
printf(_(" -m, --mode (standby switchover) shutdown mode (\"fast\" - default, \"smart\" or \"immediate\")\n"));
printf(_(" -C, --remote-config-file (standby switchover) path to the configuration file on\n" \