Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 01e9e93

Browse files
committed
Fix inconsistencies in psql --help=commands
The set of subcommands supported by \dAp, \do and \dy was described incorrectly in psql's --help. The documentation was already consistent with the code. Reported-by: inoas, from IRC Author: Matthijs van der Vleuten Reviewed-by: Neil Chen Discussion: https://postgr.es/m/6a984e24-2171-4039-9050-92d55e7b23fe@www.fastmail.com Backpatch-through: 9.6
1 parent 1823233 commit 01e9e93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/help.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ slashUsage(unsigned short int pager)
248248
fprintf(output, _(" \\dL[S+] [PATTERN] list procedural languages\n"));
249249
fprintf(output, _(" \\dm[S+] [PATTERN] list materialized views\n"));
250250
fprintf(output, _(" \\dn[S+] [PATTERN] list schemas\n"));
251-
fprintf(output, _(" \\do[S] [PATTERN] list operators\n"));
251+
fprintf(output, _(" \\do[S+] [PATTERN] list operators\n"));
252252
fprintf(output, _(" \\dO[S+] [PATTERN] list collations\n"));
253253
fprintf(output, _(" \\dp [PATTERN] list table, view, and sequence access privileges\n"));
254254
fprintf(output, _(" \\dP[itn+] [PATTERN] list [only index/table] partitioned relations [n=nested]\n"));
@@ -261,7 +261,7 @@ slashUsage(unsigned short int pager)
261261
fprintf(output, _(" \\du[S+] [PATTERN] list roles\n"));
262262
fprintf(output, _(" \\dv[S+] [PATTERN] list views\n"));
263263
fprintf(output, _(" \\dx[+] [PATTERN] list extensions\n"));
264-
fprintf(output, _(" \\dy [PATTERN] list event triggers\n"));
264+
fprintf(output, _(" \\dy[+] [PATTERN] list event triggers\n"));
265265
fprintf(output, _(" \\l[+] [PATTERN] list databases\n"));
266266
fprintf(output, _(" \\sf[+] FUNCNAME show a function's definition\n"));
267267
fprintf(output, _(" \\sv[+] VIEWNAME show a view's definition\n"));

0 commit comments

Comments
 (0)