Clarify initdb --sync-only help message and docs

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: ea499f3d28c657a044f0a948e6b77ac56f28a8f6
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2021-08-16T11:38:01Z
Releases: 15.0
Clarify initdb --sync-only help message and docs

The initdb help message for --sync-only was a bit terse, and not
really self-explanatory. Make it clearer that initdb --sync-only
will exit after syncing, and expand the docs with a note on when
the option can be useful. Also align the help output with others
that exit immediately.

Author: Nathan Bossart, Gurjeet Singh
Discussion: https://postgr.es/m/CABwTF4U6hbNNE1bv=LxQdJybmUdZ5NJQ9rKY9tN82NXM8QH+iQ@mail.gmail.com

Files

PathChange+/−
doc/src/sgml/ref/initdb.sgml modified +3 −0
src/bin/initdb/initdb.c modified +1 −1

Documentation touched

Discussion