Clarify initdb --sync-only help message and docs
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Mon, 16 Aug 2021 11:38:01 +0000 (13:38 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Mon, 16 Aug 2021 11:38:01 +0000 (13:38 +0200)
commitea499f3d28c657a044f0a948e6b77ac56f28a8f6
tree087b0d4c5c44005a968a4f49e860772c5373bd5a
parente4ba1005c0f7a95e3252f38aee02426117b8e12b
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
doc/src/sgml/ref/initdb.sgml
src/bin/initdb/initdb.c