postgres.git / summary / log / commit / refs
commit d048a327890851f37c8a0d0b8522cb8064ad7cfc
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Thu Jun 20 09:42:40 2024 +0000
First released in: 17.0
pg_createsubscriber: Indent --help output correctly
It was using 1 space indent instead of the 2 spaces used everywhere
else.
src/bin/pg_basebackup/pg_createsubscriber.c | 32 ++++++++++++++---------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c
index 5499e6d96ae..1138c20e560 100644
--- a/src/bin/pg_basebackup/pg_createsubscriber.c
+++ b/src/bin/pg_basebackup/pg_createsubscriber.c
@@ -216,22 +216,22 @@ usage(void)
printf(_("Usage:\n"));
printf(_(" %s [OPTION]...\n"), progname);
printf(_("\nOptions:\n"));
- printf(_(" -d, --database=DBNAME database to create a subscription\n"));
- printf(_(" -D, --pgdata=DATADIR location for the subscriber data directory\n"));
- printf(_(" -n, --dry-run dry run, just show what would be done\n"));
- printf(_(" -p, --subscriber-port=PORT subscriber port number (default %s)\n"), DEFAULT_SUB_PORT);
- printf(_(" -P, --publisher-server=CONNSTR publisher connection string\n"));
- printf(_(" -s, --socket-directory=DIR socket directory to use (default current directory)\n"));
- printf(_(" -t, --recovery-timeout=SECS seconds to wait for recovery to end\n"));
- printf(_(" -U, --subscriber-username=NAME subscriber username\n"));
- printf(_(" -v, --verbose output verbose messages\n"));
- printf(_(" --config-file=FILENAME use specified main server configuration\n"
- " file when running target cluster\n"));
- printf(_(" --publication=NAME publication name\n"));
- printf(_(" --replication-slot=NAME replication slot name\n"));
- printf(_(" --subscription=NAME subscription name\n"));
- printf(_(" -V, --version output version information, then exit\n"));
- printf(_(" -?, --help show this help, then exit\n"));
+ printf(_(" -d, --database=DBNAME database to create a subscription\n"));
+ printf(_(" -D, --pgdata=DATADIR location for the subscriber data directory\n"));
+ printf(_(" -n, --dry-run dry run, just show what would be done\n"));
+ printf(_(" -p, --subscriber-port=PORT subscriber port number (default %s)\n"), DEFAULT_SUB_PORT);
+ printf(_(" -P, --publisher-server=CONNSTR publisher connection string\n"));
+ printf(_(" -s, --socket-directory=DIR socket directory to use (default current directory)\n"));
+ printf(_(" -t, --recovery-timeout=SECS seconds to wait for recovery to end\n"));
+ printf(_(" -U, --subscriber-username=NAME subscriber username\n"));
+ printf(_(" -v, --verbose output verbose messages\n"));
+ printf(_(" --config-file=FILENAME use specified main server configuration\n"
+ " file when running target cluster\n"));
+ printf(_(" --publication=NAME publication name\n"));
+ printf(_(" --replication-slot=NAME replication slot name\n"));
+ printf(_(" --subscription=NAME subscription name\n"));
+ printf(_(" -V, --version output version information, then exit\n"));
+ printf(_(" -?, --help show this help, then exit\n"));
printf(_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
}
[parent: 3639d08e2f36]