From 53cf677bfcc520e824295fb06231e545cf21cd6c Mon Sep 17 00:00:00 2001 From: Gurjeet Singh Date: Wed, 7 Jul 2021 01:33:28 +0000 Subject: [PATCH v1 1/2] Explicitly state that --sync-only does not modify data --- src/bin/initdb/initdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index 0945d70061..05a98b9ade 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -2273,7 +2273,7 @@ usage(const char *progname) printf(_(" -N, --no-sync do not wait for changes to be written safely to disk\n")); printf(_(" --no-instructions do not print instructions for next steps\n")); printf(_(" -s, --show show internal settings\n")); - printf(_(" -S, --sync-only only sync data directory\n")); + printf(_(" -S, --sync-only only sync data directory; does not modify any data\n")); printf(_("\nOther options:\n")); printf(_(" -V, --version output version information, then exit\n")); printf(_(" -?, --help show this help, then exit\n")); -- 2.30.0