pg_createsubscriber: Indent --help output correctly
authorPeter Eisentraut <[email protected]>
Thu, 20 Jun 2024 09:42:40 +0000 (11:42 +0200)
committerPeter Eisentraut <[email protected]>
Thu, 20 Jun 2024 09:42:40 +0000 (11:42 +0200)
It was using 1 space indent instead of the 2 spaces used everywhere
else.

src/bin/pg_basebackup/pg_createsubscriber.c

index 5499e6d96ae1cccc23de5030fc662ba0fa184240..1138c20e560bd34f490c659557bcd6b996628e26 100644 (file)
@@ -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);
 }