diff --git a/doc/repmgr-primary-unregister.sgml b/doc/repmgr-primary-unregister.sgml index 36855937..4b182d95 100644 --- a/doc/repmgr-primary-unregister.sgml +++ b/doc/repmgr-primary-unregister.sgml @@ -21,6 +21,10 @@ Execution + + repmgr primary unregister should be run on the current primary, + with the ID of the node to unregister passed as . + Execute with the --dry-run option to check what would happen without actually unregistering the node. @@ -32,6 +36,34 @@ + + + Options + + + + + + + + Check prerequisites but don't actually unregister the primary. + + + + + + + + + ID of the inactive primary to be unregistered. + + + + + + + + Event notifications diff --git a/repmgr-action-primary.c b/repmgr-action-primary.c index 84d106db..f0259b2d 100644 --- a/repmgr-action-primary.c +++ b/repmgr-action-primary.c @@ -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("");