aboutsummaryrefslogtreecommitdiff
path: root/doc/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 /doc/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 'doc/src')
-rw-r--r--doc/src/sgml/ref/initdb.sgml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml
index 74008a9a82f..bdd613e77ff 100644
--- a/doc/src/sgml/ref/initdb.sgml
+++ b/doc/src/sgml/ref/initdb.sgml
@@ -525,6 +525,18 @@ PostgreSQL documentation
</listitem>
</varlistentry>
+ <varlistentry id="app-initdb-option-show">
+ <term><option>-s</option></term>
+ <term><option>--show</option></term>
+ <listitem>
+ <para>
+ Show internal settings and exit, without doing anything else. This
+ can be used to debug the <application>initdb</application>
+ installation.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="app-initdb-option-sync-method">
<term><option>--sync-method=<replaceable>method</replaceable></option></term>
<listitem>