standby clone: rename --recovery-conf-only to --replication-conf-only

A more generic option name to cover pre- and post-Pg12 replication
configuration methods.

--recovery-conf-only is retained as an alias for backwards
compatibility.
This commit is contained in:
Ian Barwick
2019-10-18 14:44:57 +09:00
parent b9e360d5b8
commit b74f965f54
9 changed files with 54 additions and 21 deletions

View File

@@ -431,8 +431,8 @@ main(int argc, char **argv)
runtime_options.without_barman = true;
break;
case OPT_RECOVERY_CONF_ONLY:
runtime_options.recovery_conf_only = true;
case OPT_REPLICATION_CONF_ONLY:
runtime_options.replication_conf_only = true;
break;
@@ -1705,7 +1705,7 @@ check_cli_parameters(const int action)
}
}
if (runtime_options.recovery_conf_only == true)
if (runtime_options.replication_conf_only == true)
{
switch (action)
{