repmgrd: add --help output and update Makefile

This commit is contained in:
Ian Barwick
2017-06-12 09:11:32 +09:00
parent 9a1cdade59
commit bfa6f6709d
3 changed files with 53 additions and 2 deletions

View File

@@ -1194,7 +1194,9 @@ do_help(void)
printf(_("General options:\n"));
printf(_(" -?, --help show this help, then exit\n"));
printf(_(" -V, --version output version information, then exit\n"));
puts("");
printf(_("General configuration options:\n"));
printf(_(" -b, --pg_bindir=PATH path to PostgreSQL binaries (optional)\n"));
printf(_(" -f, --config-file=PATH path to the repmgr configuration file\n"));