Add --help output for "repmgr cluster"

This commit is contained in:
Ian Barwick
2017-08-16 16:33:07 +09:00
parent 4efc8fb9ce
commit 8ff545f9ae
3 changed files with 77 additions and 15 deletions

View File

@@ -1671,12 +1671,7 @@ do_help(void)
printf(_(" -t, --terse don't display detail, hints and other non-critical output\n"));
printf(_(" -v, --verbose display additional log output (useful for debugging)\n"));
puts("");
printf(_("CLUSTER EVENT options:\n"));
printf(_(" --limit maximum number of events to display (default: %i)\n"), CLUSTER_EVENT_LIMIT);
printf(_(" --all display all events (overrides --limit)\n"));
printf(_(" --event filter specific event\n"));
puts("");
}