Skip to content

Commit 697ee73

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

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2397,8 +2397,9 @@ lo_import 152801
23972397
<tip>
23982398
<para>
23992399
There are various shortcut commands for <command>\pset</command>. See
2400-
<command>\a</command>, <command>\C</command>, <command>\H</command>,
2401-
<command>\t</command>, <command>\T</command>, and <command>\x</command>.
2400+
<command>\a</command>, <command>\C</command>, <command>\f</command>,
2401+
<command>\H</command>, <command>\t</command>, <command>\T</command>,
2402+
and <command>\x</command>.
24022403
</para>
24032404
</tip>
24042405

src/bin/psql/help.c

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

0 commit comments

Comments
 (0)