summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2018-01-29 19:04:32 +0000
committerPeter Eisentraut2018-01-29 19:18:11 +0000
commitb37422de89e569a474509cd26ec49e27866d01e8 (patch)
tree4cfd5ded6b09c0d4912b0c508cf7c2b98dd71c3b
parent06efc5cf53b96ef5b9c10995fc7c9ec06c1b4846 (diff)
psql documentation fixes
Update the documentation for \pset to mention columns|linestyle. Author: Дилян Палаузов <dpa-postgres@aegee.org>
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml5
-rw-r--r--src/bin/psql/help.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 4449041dcc6..84a29e740bf 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -2332,8 +2332,9 @@ lo_import 152801
<tip>
<para>
There are various shortcut commands for <command>\pset</command>. See
- <command>\a</command>, <command>\C</command>, <command>\H</command>,
- <command>\t</command>, <command>\T</command>, and <command>\x</command>.
+ <command>\a</command>, <command>\C</command>, <command>\f</command>,
+ <command>\H</command>, <command>\t</command>, <command>\T</command>,
+ and <command>\x</command>.
</para>
</tip>
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index d7267361da5..e0dbd624260 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -233,8 +233,9 @@ slashUsage(unsigned short int pager)
fprintf(output, _(" \\H toggle HTML output mode (currently %s)\n"),
ON(pset.popt.topt.format == PRINT_HTML));
fprintf(output, _(" \\pset [NAME [VALUE]] set table output option\n"
- " (NAME := {format|border|expanded|fieldsep|fieldsep_zero|footer|null|\n"
- " numericlocale|recordsep|recordsep_zero|tuples_only|title|tableattr|pager})\n"));
+ " (NAME := {border|columns|expanded|fieldsep|fieldsep_zero|\n"
+ " footer|format|linestyle|null|numericlocale|pager|\n"
+ " recordsep|recordsep_zero|tableattr|title|tuples_only})\n"));
fprintf(output, _(" \\t [on|off] show only rows (currently %s)\n"),
ON(pset.popt.topt.tuples_only));
fprintf(output, _(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n"));