Add option "--dump-config"

This is initially intended for verifying the configuration parsing
mechanism and is currently undocumented.
This commit is contained in:
Ian Barwick
2020-09-18 15:11:49 +09:00
parent 4670515285
commit 1f3e098104
6 changed files with 115 additions and 8 deletions

View File

@@ -48,6 +48,7 @@ typedef struct
bool no_wait;
bool compact;
bool detail;
bool dump_config;
/* logging options */
char log_level[MAXLEN]; /* overrides setting in repmgr.conf */
@@ -151,7 +152,7 @@ typedef struct
/* configuration metadata */ \
false, false, false, false, false, \
/* general configuration options */ \
"", false, false, "", -1, false, false, false, \
"", false, false, "", -1, false, false, false, false, \
/* logging options */ \
"", false, false, false, false, \
/* output options */ \