pg_amcheck: Put new options in consistent order in --help and man page

This commit is contained in:
Peter Eisentraut 2024-05-16 11:29:41 +02:00
parent 8aee330af5
commit 94af84f00c
2 changed files with 12 additions and 12 deletions

View File

@ -383,6 +383,17 @@ PostgreSQL documentation
The following command-line options control checking of B-tree indexes:
<variablelist>
<varlistentry>
<term><option>--checkunique</option></term>
<listitem>
<para>
For each index with unique constraint checked, verify that no more than
one among duplicate entries is visible in the index using <xref linkend="amcheck"/>'s
<option>checkunique</option> option.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--heapallindexed</option></term>
<listitem>
@ -432,17 +443,6 @@ PostgreSQL documentation
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--checkunique</option></term>
<listitem>
<para>
For each index with unique constraint checked, verify that no more than
one among duplicate entries is visible in the index using <xref linkend="amcheck"/>'s
<option>checkunique</option> option.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>

View File

@ -1205,10 +1205,10 @@ help(const char *progname)
printf(_(" --startblock=BLOCK begin checking table(s) at the given block number\n"));
printf(_(" --endblock=BLOCK check table(s) only up to the given block number\n"));
printf(_("\nB-tree index checking options:\n"));
printf(_(" --checkunique check unique constraint if index is unique\n"));
printf(_(" --heapallindexed check that all heap tuples are found within indexes\n"));
printf(_(" --parent-check check index parent/child relationships\n"));
printf(_(" --rootdescend search from root page to refind tuples\n"));
printf(_(" --checkunique check unique constraint if index is unique\n"));
printf(_("\nConnection options:\n"));
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));