Promote --data-checksums to the common set of options in initdb --help
authorMichael Paquier <[email protected]>
Wed, 6 Jan 2021 01:52:26 +0000 (10:52 +0900)
committerMichael Paquier <[email protected]>
Wed, 6 Jan 2021 01:52:26 +0000 (10:52 +0900)
This was previously part of the section dedicated to less common
options, but it is an option commonly used these days.

Author: Michael Banck
Reviewed-by: Stephen Frost, Michael Paquier
Discussion: https://postgr.es/m/d7938aca4d4ea8e8c72c33bd75efe9f8218fe390[email protected]

src/bin/initdb/initdb.c

index 4453aeb0f0ff33402e30ef7688e7ce24a0e32ad9..c854221a30602c5a1e5abf73b0942b263859d715 100644 (file)
@@ -2275,6 +2275,7 @@ usage(const char *progname)
    printf(_(" [-D, --pgdata=]DATADIR     location for this database cluster\n"));
    printf(_("  -E, --encoding=ENCODING   set default encoding for new databases\n"));
    printf(_("  -g, --allow-group-access  allow group read/execute on data directory\n"));
+   printf(_("  -k, --data-checksums      use data page checksums\n"));
    printf(_("      --locale=LOCALE       set default locale for new databases\n"));
    printf(_("      --lc-collate=, --lc-ctype=, --lc-messages=LOCALE\n"
             "      --lc-monetary=, --lc-numeric=, --lc-time=LOCALE\n"
@@ -2290,7 +2291,6 @@ usage(const char *progname)
    printf(_("      --wal-segsize=SIZE    size of WAL segments, 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"));
    printf(_("  -L DIRECTORY              where to find the input files\n"));
    printf(_("  -n, --no-clean            do not clean up after errors\n"));
    printf(_("  -N, --no-sync             do not wait for changes to be written safely to disk\n"));