Add placeholder functions for "repmgr $command --help"

There are now too many options to sensibly fit into general --help
output; we'll add separate output for each repmgr command, e.g.
"repmgr node --help".
This commit is contained in:
Ian Barwick
2017-08-16 13:24:14 +09:00
parent 00f983dc15
commit 4efc8fb9ce
12 changed files with 131 additions and 33 deletions

View File

@@ -197,6 +197,7 @@ extern void get_superuser_connection(PGconn **conn, PGconn **superuser_conn, PGc
extern bool remote_command(const char *host, const char *user, const char *command, PQExpBufferData *outputbuf);
extern void make_remote_repmgr_path(PQExpBufferData *outputbuf, t_node_info *remote_node_record);
extern void print_help_header(void);
/* server control functions */
extern void get_server_action(t_server_action action, char *script, char *data_dir);