Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 643cad1

Browse files
committed
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
1 parent 42c73ef commit 643cad1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/src/sgml/ref/psql-ref.sgml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@ lo_import 152801
19431943
</varlistentry>
19441944

19451945
<varlistentry>
1946-
<term><literal>\pset <replaceable class="parameter">option</replaceable> [ <replaceable class="parameter">value</replaceable> ]</literal></term>
1946+
<term><literal>\pset [ <replaceable class="parameter">option</replaceable> [ <replaceable class="parameter">value</replaceable> ] ]</literal></term>
19471947

19481948
<listitem>
19491949
<para>
@@ -1959,6 +1959,11 @@ lo_import 152801
19591959
the current setting being displayed.
19601960
</para>
19611961

1962+
<para>
1963+
<command>\pset</command> without any arguments displays the current status
1964+
of all printing options.
1965+
</para>
1966+
19621967
<para>
19631968
Adjustable printing options are:
19641969
<variablelist>
@@ -2298,11 +2303,6 @@ lo_import 152801
22982303
</para>
22992304
</tip>
23002305

2301-
<para>
2302-
<command>\pset</command> without any arguments displays the current status
2303-
of all printing options.
2304-
</para>
2305-
23062306
</listitem>
23072307
</varlistentry>
23082308

0 commit comments

Comments
 (0)