mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 15:46:29 +00:00
Improve "witness register" documentation, help and logging
Make it clearer that a) the primary server's hostname is required, and b) how to provide it. Based on feedback provided in GitHub #529.
This commit is contained in:
@@ -1409,7 +1409,7 @@ check_cli_parameters(const int action)
|
||||
if (!runtime_options.host_param_provided)
|
||||
{
|
||||
item_list_append_format(&cli_errors,
|
||||
_("host name for the source node must be provided when executing %s"),
|
||||
_("host name for the source node must be provided with -h/--hostname when executing %s"),
|
||||
action_name(action));
|
||||
}
|
||||
|
||||
@@ -1466,7 +1466,7 @@ check_cli_parameters(const int action)
|
||||
if (!runtime_options.host_param_provided)
|
||||
{
|
||||
item_list_append_format(&cli_errors,
|
||||
_("host name for the source node must be provided when executing %s"),
|
||||
_("host name for the source node must be provided with -h/--hostname when executing %s"),
|
||||
action_name(action));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user