mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
cleanup of usage text
Now it properly aligns and breaks at 78 characters.
This commit is contained in:
25
repmgr.c
25
repmgr.c
@@ -1757,25 +1757,30 @@ help(const char *progname)
|
|||||||
printf(_(" -p, --port=PORT database server port\n"));
|
printf(_(" -p, --port=PORT database server port\n"));
|
||||||
printf(_(" -U, --username=USERNAME database user name to connect as\n"));
|
printf(_(" -U, --username=USERNAME database user name to connect as\n"));
|
||||||
printf(_("\nConfiguration options:\n"));
|
printf(_("\nConfiguration options:\n"));
|
||||||
printf(_(" -D, --data-dir=DIR local directory where the files will be copied to\n"));
|
printf(_(" -D, --data-dir=DIR local directory where the files will be\n" \
|
||||||
|
" copied to\n"));
|
||||||
printf(_(" -l, --local-port=PORT standby or witness server local port\n"));
|
printf(_(" -l, --local-port=PORT standby or witness server local port\n"));
|
||||||
printf(_(" -f, --config_file=PATH path to the configuration file\n"));
|
printf(_(" -f, --config_file=PATH path to the configuration file\n"));
|
||||||
printf(_(" -R, --remote-user=USERNAME database server username for rsync\n"));
|
printf(_(" -R, --remote-user=USERNAME database server username for rsync\n"));
|
||||||
printf(_(" -w, --wal-keep-segments=VALUE minimum value for the GUC wal_keep_segments (default: 5000)\n"));
|
printf(_(" -w, --wal-keep-segments=VALUE minimum value for the GUC\n" \
|
||||||
|
" wal_keep_segments (default: 5000)\n"));
|
||||||
printf(_(" -I, --ignore-rsync-warning ignore rsync partial transfer warning\n"));
|
printf(_(" -I, --ignore-rsync-warning ignore rsync partial transfer warning\n"));
|
||||||
printf(_(" -k, --keep-history=VALUE keeps indicated number of days of history\n"));
|
printf(_(" -k, --keep-history=VALUE keeps indicated number of days of\n" \
|
||||||
printf(_(" -F, --force force potentially dangerous operations to happen\n"));
|
" history\n"));
|
||||||
printf(_(" -W, --wait wait for a master to appear"));
|
printf(_(" -F, --force force potentially dangerous operations\n" \
|
||||||
|
" to happen\n"));
|
||||||
|
printf(_(" -W, --wait wait for a master to appear\n"));
|
||||||
|
|
||||||
printf(_("\n%s performs some tasks like clone a node, promote it "), progname);
|
printf(_("\n%s performs some tasks like clone a node, promote it or making follow\n"), progname);
|
||||||
printf(_("or making follow another node and then exits.\n"));
|
printf(_("another node and then exits.\n\n"));
|
||||||
printf(_("COMMANDS:\n"));
|
printf(_("COMMANDS:\n"));
|
||||||
printf(_(" master register - registers the master in a cluster\n"));
|
printf(_(" master register - registers the master in a cluster\n"));
|
||||||
printf(_(" standby register - registers a standby in a cluster\n"));
|
printf(_(" standby register - registers a standby in a cluster\n"));
|
||||||
printf(_(" standby clone [node] - allows creation of a new standby\n"));
|
printf(_(" standby clone [node] - allows creation of a new standby\n"));
|
||||||
printf(_(" standby promote - allows manual promotion of a specific standby into a "));
|
printf(_(" standby promote - allows manual promotion of a specific standby into\n" \
|
||||||
printf(_("new master in the event of a failover\n"));
|
" a new master in the event of a failover\n"));
|
||||||
printf(_(" standby follow - allows the standby to re-point itself to a new master\n"));
|
printf(_(" standby follow - allows the standby to re-point itself to a new\n" \
|
||||||
|
" master\n"));
|
||||||
printf(_(" cluster show - print node information\n"));
|
printf(_(" cluster show - print node information\n"));
|
||||||
printf(_(" cluster cleanup - cleans monitor's history\n"));
|
printf(_(" cluster cleanup - cleans monitor's history\n"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user