aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/help.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-08-04 12:22:26 -0400
committerRobert Haas <rhaas@postgresql.org>2011-08-04 12:22:26 -0400
commit3b17efdfdd846c9bfad1637686e6f18198ea3df5 (patch)
tree4f2b8d5c9f4b9c84bc12e6ee8a0ff7e77f6695c0 /src/bin/psql/help.c
parent38de5aad54b3eb37981cacd391fcde82f86d00fb (diff)
downloadpostgresql-3b17efdfdd846c9bfad1637686e6f18198ea3df5.tar.gz
postgresql-3b17efdfdd846c9bfad1637686e6f18198ea3df5.zip
Teach psql to display comments on languages and casts.
The output of \dL (list languages) is fairly narrow, so we just always display the comment. \dC (list casts) can get fairly wide, so we only display comments if the new \dC+ option is specified. Josh Kupershmidt
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r--src/bin/psql/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index e56ab61ac63..d3b8c170fa9 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -196,7 +196,7 @@ slashUsage(unsigned short int pager)
fprintf(output, _(" \\da[S] [PATTERN] list aggregates\n"));
fprintf(output, _(" \\db[+] [PATTERN] list tablespaces\n"));
fprintf(output, _(" \\dc[S] [PATTERN] list conversions\n"));
- fprintf(output, _(" \\dC [PATTERN] list casts\n"));
+ fprintf(output, _(" \\dC[+] [PATTERN] list casts\n"));
fprintf(output, _(" \\dd[S] [PATTERN] show comments on objects\n"));
fprintf(output, _(" \\ddp [PATTERN] list default privileges\n"));
fprintf(output, _(" \\dD[S] [PATTERN] list domains\n"));