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

Commit 967a4e7

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. Dilip Kumar, reviewed by Fabien Coelho
1 parent 78493b7 commit 967a4e7

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
@@ -1956,7 +1956,7 @@ lo_import 152801
19561956
</varlistentry>
19571957

19581958
<varlistentry>
1959-
<term><literal>\pset <replaceable class="parameter">option</replaceable> [ <replaceable class="parameter">value</replaceable> ]</literal></term>
1959+
<term><literal>\pset [ <replaceable class="parameter">option</replaceable> [ <replaceable class="parameter">value</replaceable> ] ]</literal></term>
19601960

19611961
<listitem>
19621962
<para>
@@ -1972,6 +1972,11 @@ lo_import 152801
19721972
the current setting being displayed.
19731973
</para>
19741974

1975+
<para>
1976+
<command>\pset</command> without any arguments displays the current status
1977+
of all printing options.
1978+
</para>
1979+
19751980
<para>
19761981
Adjustable printing options are:
19771982
<variablelist>
@@ -2311,11 +2316,6 @@ lo_import 152801
23112316
</para>
23122317
</tip>
23132318

2314-
<para>
2315-
<command>\pset</command> without any arguments displays the current status
2316-
of all printing options.
2317-
</para>
2318-
23192319
</listitem>
23202320
</varlistentry>
23212321

0 commit comments

Comments
 (0)