summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2024-05-07 09:25:55 +0000
committerPeter Eisentraut2024-05-07 09:25:55 +0000
commit09fe9659fd5ea73fb721e270664943cab727354b (patch)
treef09d82d0e66c2f295dcd965b2fcf276f5b0edd85
parent4712177a6c52b15918c9d6a4bdf8f00e79a18af3 (diff)
doc: Improve order of options on pgbench reference page
Both the pgbench --help output and the reference page have sections for initialization options, benchmarking options, and common options. But the --debug option ended up in the wrong place on the reference page. Fix that by making the documentation match the --help output.
-rw-r--r--doc/src/sgml/ref/pgbench.sgml19
1 files changed, 9 insertions, 10 deletions
diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml
index c3d0ec240b1..46240e3f725 100644
--- a/doc/src/sgml/ref/pgbench.sgml
+++ b/doc/src/sgml/ref/pgbench.sgml
@@ -463,15 +463,6 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
</listitem>
</varlistentry>
- <varlistentry id="pgbench-option-debug">
- <term><option>--debug</option></term>
- <listitem>
- <para>
- Print debugging output.
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry id="pgbench-option-define">
<term><option>-D</option> <replaceable>varname</replaceable><literal>=</literal><replaceable>value</replaceable></term>
<term><option>--define=</option><replaceable>varname</replaceable><literal>=</literal><replaceable>value</replaceable></term>
@@ -934,9 +925,17 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
<para>
<application>pgbench</application> also accepts the following common command-line
- arguments for connection parameters:
+ arguments for connection parameters and other common settings:
<variablelist>
+ <varlistentry id="pgbench-option-debug">
+ <term><option>--debug</option></term>
+ <listitem>
+ <para>
+ Print debugging output.
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry id="pgbench-option-host">
<term><option>-h</option> <replaceable>hostname</replaceable></term>