Improve "repmgr primary unregister" documentation and --help output

Per observations in GitHub #373
This commit is contained in:
Ian Barwick
2018-02-02 14:12:15 +09:00
parent de6284ae79
commit 94e187c476
2 changed files with 34 additions and 1 deletions

View File

@@ -548,7 +548,8 @@ do_primary_help(void)
printf(_(" \"primary unregister\" unregisters an inactive primary node.\n"));
puts("");
printf(_(" --dry-run check what would happen, but don't actually unregister the primary\n"));
printf(_(" -F, --force force removal of the record\n"));
printf(_(" --node-id ID of the inactive primary node to unregister.\n"));
printf(_(" -F, --force force removal of an active record\n"));
puts("");