8000 psql documentation fixes · postgres/postgres@8067cf8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8067cf8

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 4e9fb4b commit 8067cf8

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
@@ -2599,8 +2599,9 @@ lo_import 152801
25992599
<tip>
26002600
<para>
26012601
There are various shortcut commands for <command>\pset</command>. See
2602-
<command>\a</command>, <command>\C</command>, <command>\H</command>,
2603-
<command>\t</command>, <command>\T</command>, and <command>\x</command>.
2602+
<command>\a</command>, <command>\C</command>, <command>\f</command>,
2603+
<command>\H</command>, <command>\t</command>, <command>\T</command>,
2604+
and <command>\x</command>.
26042605
</para>
26052606
</tip>
26062607

src/bin/psql/help.c

Lines changed: 5 additions & 3 deletions
-
" numericlocale|recordsep|recordsep_zero|tuples_only|title|tableattr|pager|\n"
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,11 @@ slashUsage(unsigned short int pager)
262262
fprintf(output, _(" \\H toggle HTML output mode (currently %s)\n"),
263263
ON(pset.popt.topt.format == PRINT_HTML));
264264
fprintf(output, _(" \\pset [NAME [VALUE]] set table output option\n"
265-
" (NAME := {format|border|expanded|fieldsep|fieldsep_zero|footer|null|\n"
266
267-
" unicode_border_linestyle|unicode_column_linestyle|unicode_header_linestyle})\n"));
265+
" (NAME := {border|columns|expanded|fieldsep|fieldsep_zero|\n"
266+
" footer|format|linestyle|null|numericlocale|pager|\n"
267+
" pager_min_lines|recordsep|recordsep_zero|tableattr|title|\n"
268+
" tuples_only|unicode_border_linestyle|\n"
269+
" unicode_column_linestyle|unicode_header_linestyle})\n"));
268270
fprintf(output, _(" \\t [on|off] show only rows (currently %s)\n"),
269271
ON(pset.popt.topt.tuples_only));
270272
fprintf(output, _(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n"));

0 commit comments

Comments
 (0)
0