summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlvaro Herrera <alvherre@kurilemu.de>2025-11-06 15:50:04 +0100
committerÁlvaro Herrera <alvherre@kurilemu.de>2025-11-06 15:50:04 +0100
commit8fe7700b7eafe95d20244c5c85567f1573669e23 (patch)
tree3d3e246287bc34e7fd7b8a976576adf6a499f997
parentaa606b9316a334cbc8c48560c72235f9e48e47bf (diff)
Refer readers of \? to "\? variables" for pset options
... and remove the list of \pset options from the general \? output. That list was getting out of hand, both for developers to keep up to date as well as for users to read. Author: Álvaro Herrera <alvherre@kurilemu.de> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/202511041638.dm4qukcxfjto@alvherre.pgsql
-rw-r--r--src/bin/psql/help.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 45d20ea57bc..ec0b49b957b 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -290,12 +290,7 @@ slashUsage(unsigned short int pager)
HELPN(" \\H toggle HTML output mode (currently %s)\n",
ON(pset.popt.topt.format == PRINT_HTML));
HELP0(" \\pset [NAME [VALUE]] set table output option\n"
- " (border|columns|csv_fieldsep|display_false|display_true|\n"
- " expanded|fieldsep|fieldsep_zero|footer|format|linestyle|\n"
- " null|numericlocale|pager|pager_min_lines|recordsep|\n"
- " recordsep_zero|tableattr|title|tuples_only|\n"
- " unicode_border_linestyle|unicode_column_linestyle|\n"
- " unicode_header_linestyle|xheader_width)\n");
+ " see \"\\? variables\" for valid options\n");
HELPN(" \\t [on|off] show only rows (currently %s)\n",
ON(pset.popt.topt.tuples_only));
HELP0(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n");