summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-07-24 08:06:54 -0400
committerRobert Haas <rhaas@postgresql.org>2014-07-24 08:06:54 -0400
commit967a4e7f3107e3c5b732fe4f8e13a1f31a255e46 (patch)
treeae03c6262335257e9c7178797462d6d00881f1ea /doc/src
parent78493b716802cbe632d36c85f0d7c3bdb708e045 (diff)
docs: Improve documentation of \pset without arguments.
The syntax summary previously failed to clarify that the first argument is also optional. The textual description did mention it, but all the way at the bottom. It fits better with the command overview, so move it there, and fix the summary also. Dilip Kumar, reviewed by Fabien Coelho
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index fa0d6f2ec90..133390ab637 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1956,7 +1956,7 @@ lo_import 152801
</varlistentry>
<varlistentry>
- <term><literal>\pset <replaceable class="parameter">option</replaceable> [ <replaceable class="parameter">value</replaceable> ]</literal></term>
+ <term><literal>\pset [ <replaceable class="parameter">option</replaceable> [ <replaceable class="parameter">value</replaceable> ] ]</literal></term>
<listitem>
<para>
@@ -1973,6 +1973,11 @@ lo_import 152801
</para>
<para>
+ <command>\pset</command> without any arguments displays the current status
+ of all printing options.
+ </para>
+
+ <para>
Adjustable printing options are:
<variablelist>
<varlistentry>
@@ -2311,11 +2316,6 @@ lo_import 152801
</para>
</tip>
- <para>
- <command>\pset</command> without any arguments displays the current status
- of all printing options.
- </para>
-
</listitem>
</varlistentry>