From 5359d4546396c43b4482b9212c962b9185a2c8a1 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 14 Jan 2016 20:49:27 +0900 Subject: [PATCH] Remove deprecated -l/--local-port from --help output We'll still parse it for backwards compatibility --- repmgr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/repmgr.c b/repmgr.c index 06c51e5f..7929940d 100644 --- a/repmgr.c +++ b/repmgr.c @@ -146,6 +146,7 @@ main(int argc, char **argv) {"username", required_argument, NULL, 'U'}, {"superuser", required_argument, NULL, 'S'}, {"data-dir", required_argument, NULL, 'D'}, + /* -l/--local-port is deprecated */ {"local-port", required_argument, NULL, 'l'}, {"config-file", required_argument, NULL, 'f'}, {"remote-user", required_argument, NULL, 'R'}, @@ -3285,9 +3286,6 @@ help(void) printf(_(" --initdb-no-pwprompt (witness server) no superuser password prompt during initdb\n")); -/* remove this line in the next significant release */ - printf(_(" -l, --local-port=PORT (witness server) witness server local port, default: %s \n" \ - " (DEPRECATED, put port in conninfo)\n"), WITNESS_DEFAULT_PORT); printf(_(" -S, --superuser=USERNAME (witness server) superuser username for witness database\n" \ " (default: postgres)\n")); printf(_("\n"));