Add more --help output

This commit is contained in:
Ian Barwick
2017-08-16 17:49:46 +09:00
parent ae30f41de6
commit 0ac16f7630
6 changed files with 115 additions and 12 deletions

View File

@@ -421,5 +421,18 @@ do_bdr_help(void)
{
print_help_header();
printf(_("Usage:\n"));
printf(_(" %s [OPTIONS] bdr register\n"), progname());
printf(_(" %s [OPTIONS] bdr unregister\n"), progname());
puts("");
printf(_("BDR REGISTER\n"));
puts("");
printf(_(" \"bdr register\" initialises the repmgr cluster and registers the initial bdr node.\n"));
puts("");
printf(_("BDR UNREGISTER\n"));
puts("");
printf(_(" \"bdr unregister\" unregisters an inactive BDR node.\n"));
puts("");
}