aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-06-13 11:52:35 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-06-13 11:52:35 +0200
commita41106dab72cbcaa02fce8bda8965d04e85f2d3a (patch)
tree53510974af71c7b219e9dcc33a822bc55e56df01 /src
parentad8877cb513733d8bb98d24770a094b81c27e4c5 (diff)
downloadpostgresql-a41106dab72cbcaa02fce8bda8965d04e85f2d3a.tar.gz
postgresql-a41106dab72cbcaa02fce8bda8965d04e85f2d3a.zip
Fix documentation of initdb --show option
It wasn't in the documentation at all (even though we document all the other debugging-like options). Also, change the --help output to show that it exits after showing, similar to other options.
Diffstat (limited to 'src')
-rw-r--r--src/bin/initdb/initdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 12ae194067f..f00718a0150 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -2481,7 +2481,7 @@ usage(const char *progname)
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"));
printf(_(" --no-instructions do not print instructions for next steps\n"));
- printf(_(" -s, --show show internal settings\n"));
+ printf(_(" -s, --show show internal settings, then exit\n"));
printf(_(" --sync-method=METHOD set method for syncing files to disk\n"));
printf(_(" -S, --sync-only only sync database files to disk, then exit\n"));
printf(_("\nOther options:\n"));