mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Enable long option --pgdata as alias for -D/--data-dir
pg_ctl provides -D/--pgdata; we want to be as close to the core utilities as possible.
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -158,6 +158,8 @@ main(int argc, char **argv)
|
||||
{"username", required_argument, NULL, 'U'},
|
||||
{"superuser", required_argument, NULL, 'S'},
|
||||
{"data-dir", required_argument, NULL, 'D'},
|
||||
/* alias for -D/--data-dir, following pg_ctl usage */
|
||||
{"pgdata", required_argument, NULL, 'D'},
|
||||
/* -l/--local-port is deprecated */
|
||||
{"local-port", required_argument, NULL, 'l'},
|
||||
{"config-file", required_argument, NULL, 'f'},
|
||||
|
||||
Reference in New Issue
Block a user