From 5a7ce552f09b22ab342787f3bee4e72e1170792f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 17 Aug 2016 14:51:32 +0900 Subject: [PATCH] "renumber" deprecated command line options without a short version This will keep them out of the main list. --- repmgr.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/repmgr.h b/repmgr.h index 578dceec..b5a3ec1e 100644 --- a/repmgr.h +++ b/repmgr.h @@ -47,6 +47,7 @@ #define NO_UPSTREAM_NODE -1 #define UNKNOWN_NODE_ID -1 +/* command line options without short versions */ #define OPT_HELP 1 #define OPT_CHECK_UPSTREAM_CONFIG 2 #define OPT_RECOVERY_MIN_APPLY_DELAY 3 @@ -56,7 +57,9 @@ #define OPT_PWPROMPT 7 #define OPT_CSV 8 #define OPT_NODE 9 -#define OPT_INITDB_NO_PWPROMPT 10 + +/* deprecated command line options */ +#define OPT_INITDB_NO_PWPROMPT 999 /* Run time options type */