From 9f385445473405b875938951dee82d458534530e Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Tue, 22 Apr 2025 13:40:56 +1000 Subject: [PATCH v3] DOCS - pg_controldata should have Option section with descriptions for -D and -V and -? options. --- doc/src/sgml/ref/pg_controldata.sgml | 47 ++++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/ref/pg_controldata.sgml b/doc/src/sgml/ref/pg_controldata.sgml index 0eb0abc..e890967 100644 --- a/doc/src/sgml/ref/pg_controldata.sgml +++ b/doc/src/sgml/ref/pg_controldata.sgml @@ -47,15 +47,52 @@ PostgreSQL documentation This utility can only be run by the user who initialized the cluster because it requires read access to the data directory. You can specify the data directory on the command line, or use - the environment variable PGDATA. This utility supports the options - and , which print the - pg_controldata version and exit. It also - supports options and , which output the - supported arguments. + the environment variable PGDATA. + Options + + + The following command-line options are available: + + + + + + + + Specifies the location of the database directory. + + + + + + + + + + Print the pg_controldata version and exit. + + + + + + + + + + Show help about pg_controldata command line + arguments, and exit. + + + + + + + + Environment -- 1.8.3.1