Skip to content

Commit 09fe965

Browse files
committed
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.
1 parent 4712177 commit 09fe965

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

doc/src/sgml/ref/pgbench.sgml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -463,15 +463,6 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
463463
</listitem>
464464
</varlistentry>
465465

466-
<varlistentry id="pgbench-option-debug">
467-
<term><option>--debug</option></term>
468-
<listitem>
469-
<para>
470-
Print debugging output.
471-
</para>
472-
</listitem>
473-
</varlistentry>
474-
475466
<varlistentry id="pgbench-option-define">
476467
<term><option>-D</option> <replaceable>varname</replaceable><literal>=</literal><replaceable>value</replaceable></term>
477468
<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
934925

935926
<para>
936927
<application>pgbench</application> also accepts the following common command-line
937-
arguments for connection parameters:
928+
arguments for connection parameters and other common settings:
938929

939930
<variablelist>
931+
<varlistentry id="pgbench-option-debug">
932+
<term><option>--debug</option></term>
933+
<listitem>
934+
<para>
935+
Print debugging output.
936+
</para>
937+
</listitem>
938+
</varlistentry>
940939

941940
<varlistentry id="pgbench-option-host">
942941
<term><option>-h</option> <replaceable>hostname</replaceable></term>

0 commit comments

Comments
 (0)