Clarify initdb --help message for --wal-segsize
authorMagnus Hagander <magnus@hagander.net>
Sun, 11 Mar 2018 13:12:36 +0000 (14:12 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 11 Mar 2018 13:12:36 +0000 (14:12 +0100)
Specify that the value is in megabytes. This aligns the message with
what's in the documentation.

src/bin/initdb/initdb.c

index 1f7f2aaa54a1f4a44b888b5cf6759a17bcf7525f..65eba7d42fdaffa8a4084ffccaf5015baa91361a 100644 (file)
@@ -2323,7 +2323,7 @@ usage(const char *progname)
    printf(_("  -U, --username=NAME       database superuser name\n"));
    printf(_("  -W, --pwprompt            prompt for a password for the new superuser\n"));
    printf(_("  -X, --waldir=WALDIR       location for the write-ahead log directory\n"));
-   printf(_("      --wal-segsize=SIZE    size of wal segment size\n"));
+   printf(_("      --wal-segsize=SIZE    size of wal segment size in megabytes\n"));
    printf(_("\nLess commonly used options:\n"));
    printf(_("  -d, --debug               generate lots of debugging output\n"));
    printf(_("  -k, --data-checksums      use data page checksums\n"));