mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 23:56:29 +00:00
Fix -D/--data-dir's long option
This was erroneously rendered as --dest-dir. This bugfeature seems to have been around for a long time; however as the only way anyone could know of the existence of --dest-dir is by reading the source code, we can safely remove it. Pointed out by Github user Jehan-Guillaume (ioguix) de Rorthais.
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -139,7 +139,7 @@ main(int argc, char **argv)
|
|||||||
{"port", required_argument, NULL, 'p'},
|
{"port", required_argument, NULL, 'p'},
|
||||||
{"username", required_argument, NULL, 'U'},
|
{"username", required_argument, NULL, 'U'},
|
||||||
{"superuser", required_argument, NULL, 'S'},
|
{"superuser", required_argument, NULL, 'S'},
|
||||||
{"dest-dir", required_argument, NULL, 'D'},
|
{"data-dir", required_argument, NULL, 'D'},
|
||||||
{"local-port", required_argument, NULL, 'l'},
|
{"local-port", required_argument, NULL, 'l'},
|
||||||
{"config-file", required_argument, NULL, 'f'},
|
{"config-file", required_argument, NULL, 'f'},
|
||||||
{"remote-user", required_argument, NULL, 'R'},
|
{"remote-user", required_argument, NULL, 'R'},
|
||||||
|
|||||||
Reference in New Issue
Block a user