Skip to content

Commit 98e4dce

Browse files
committed
psql documentation fixes
Update the documentation for \pset to mention columns|linestyle. Author: Дилян Палаузов <dpa-postgres@aegee.org>
1 parent c03fc84 commit 98e4dce

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,8 +2315,9 @@ lo_import 152801
23152315
<tip>
23162316
<para>
23172317
There are various shortcut commands for <command>\pset</command>. See
2318-
<command>\a</command>, <command>\C</command>, <command>\H</command>,
2319-
<command>\t</command>, <command>\T</command>, and <command>\x</command>.
2318+
<command>\a</command>, <command>\C</command>, <command>\f</command>,
2319+
<command>\H</command>, <command>\t</command>, <command>\T</command>,
2320+
and <command>\x</command>.
23202321
</para>
23212322
</tip>
23222323

src/bin/psql/help.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,9 @@ slashUsage(unsigned short int pager)
248248
fprintf(output, _(" \\H toggle HTML output mode (currently %s)\n"),
249249
ON(pset.popt.topt.format == PRINT_HTML));
250250
fprintf(output, _(" \\pset NAME [VALUE] set table output option\n"
251-
" (NAME := {format|border|expanded|fieldsep|fieldsep_zero|footer|null|\n"
252-
" numericlocale|recordsep|recordsep_zero|tuples_only|title|tableattr|pager})\n"));
251+
" (NAME := {border|columns|expanded|fieldsep|fieldsep_zero|\n"
252+
" footer|format|linestyle|null|numericlocale|pager|\n"
253+
" recordsep|recordsep_zero|tableattr|title|tuples_only})\n"));
253254
fprintf(output, _(" \\t [on|off] show only rows (currently %s)\n"),
254255
ON(pset.popt.topt.tuples_only));
255256
fprintf(output, _(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n"));

0 commit comments

Comments
 (0)