From: Peter Eisentraut Date: Mon, 29 Jan 2018 19:04:32 +0000 (-0500) Subject: psql documentation fixes X-Git-Tag: REL9_3_21~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98e4dce78b5139a1a7935903627498c41f0b2d6a;p=postgresql psql documentation fixes Update the documentation for \pset to mention columns|linestyle. Author: Дилян Палаузов --- diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 4cbdb5308c..120bdb02eb 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -2315,8 +2315,9 @@ lo_import 152801 There are various shortcut commands for \pset. See - \a, \C, \H, - \t, \T, and \x. + \a, \C, \f, + \H, \t, \T, + and \x. diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 58f9520ab8..7bb0082571 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -248,8 +248,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 tag attributes, or unset if none\n"));