Add repmgr home page to --help output

Per PostgreSQL commit 1933ae629e7b706c6c23673a381e778819db307d it seems
to be all the rage these days.
This commit is contained in:
Ian Barwick
2020-04-24 09:41:56 +09:00
parent 3200c8c4e4
commit 38b3447bd3
9 changed files with 14 additions and 4 deletions

View File

@@ -1507,4 +1507,5 @@ do_cluster_help(void)
printf(_(" -k, --keep-history=VALUE retain indicated number of days of history (default: 0)\n"));
puts("");
printf(_("%s home page: <%s>\n"), "repmgr", REPMGR_URL);
}

View File

@@ -339,4 +339,5 @@ void do_daemon_help(void)
puts("");
printf(_("%s home page: <%s>\n"), "repmgr", REPMGR_URL);
}

View File

@@ -3539,8 +3539,8 @@ do_node_help(void)
printf(_(" --list-actions show what command would be performed for each action\n"));
printf(_(" --checkpoint issue a CHECKPOINT before stopping or restarting the node\n"));
printf(_(" -S, --superuser=USERNAME superuser to use, if repmgr user is not superuser\n"));
puts("");
printf(_("%s home page: <%s>\n"), "repmgr", REPMGR_URL);
}

View File

@@ -575,4 +575,5 @@ do_primary_help(void)
puts("");
printf(_("%s home page: <%s>\n"), "repmgr", REPMGR_URL);
}

View File

@@ -543,4 +543,6 @@ void do_service_help(void)
puts("");
puts("");
printf(_("%s home page: <%s>\n"), "repmgr", REPMGR_URL);
}

View File

@@ -8849,4 +8849,7 @@ do_standby_help(void)
printf(_(" --siblings-follow have other standbys follow new primary\n"));
puts("");
printf(_("%s home page: <%s>\n"), "repmgr", REPMGR_URL);
}

View File

@@ -569,5 +569,5 @@ void do_witness_help(void)
puts("");
return;
printf(_("%s home page: <%s>\n"), "repmgr", REPMGR_URL);
}

View File

@@ -2666,6 +2666,8 @@ do_help(void)
printf(_(" -v, --verbose display additional log output (useful for debugging)\n"));
puts("");
printf(_("%s home page: <%s>\n"), "repmgr", REPMGR_URL);
}

View File

@@ -145,6 +145,6 @@
#define TABLESPACE_MAP "tablespace_map"
#endif
#define REPMGR_URL "https://repmgr.org/"
#endif /* _REPMGR_H_ */