From 4c0343d4af716813388a585390f5660c17a848f9 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 24 Apr 2013 22:50:33 -0400 Subject: [PATCH] initdb: Improve some messages --- src/bin/initdb/initdb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index bb38796eb2..f9b3492ef3 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -2751,7 +2751,7 @@ usage(const char *progname) printf(_(" -X, --xlogdir=XLOGDIR location for the transaction log directory\n")); printf(_("\nLess commonly used options:\n")); printf(_(" -d, --debug generate lots of debugging output\n")); - printf(_(" -k, --data-checksums data page checksums\n")); + printf(_(" -k, --data-checksums use data page checksums\n")); printf(_(" -L DIRECTORY where to find the input files\n")); printf(_(" -n, --noclean do not clean up after errors\n")); printf(_(" -N, --nosync do not wait for changes to be written safely to disk\n")); @@ -3320,7 +3320,8 @@ warn_on_mount_point(int error) _("It contains a lost+found directory, perhaps due to it being a mount point.\n")); fprintf(stderr, - _("Using the top-level directory of a mount point is not recommended.\n")); + _("Using a mount point directly as the data directory is not recommended.\n" + "Create a subdirectory under the mount point.\n")); }