diff options
author | Fujii Masao <fujii@postgresql.org> | 2014-09-04 13:48:09 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2014-09-04 13:48:09 +0900 |
commit | 643cad19346bc7d6e16663ee9ff6f7a6ef009d93 (patch) | |
tree | 109b9055ae695ecc84c9cf48e0d347da6ec95892 /doc/src | |
parent | 42c73ef9b7e5eb552b972bc05335746f54e34f98 (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.
Back-patch to 9.4 where \pset without arguments was supported.
Dilip Kumar, reviewed by Fabien Coelho
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 12 |
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 255e8cac144..fd8661d7d0c 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1943,7 +1943,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> @@ -1960,6 +1960,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> @@ -2298,11 +2303,6 @@ lo_import 152801 </para> </tip> - <para> - <command>\pset</command> without any arguments displays the current status - of all printing options. - </para> - </listitem> </varlistentry> |