aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/help.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2008-05-16 17:17:00 +0000
committerBruce Momjian <bruce@momjian.us>2008-05-16 17:17:00 +0000
commit9263d86f59b7676e388785824ee5945a91b855ed (patch)
treec11339a9a9a67a1ce4ef37a59d86bce9d1fdba72 /src/bin/psql/help.c
parent7adddb4002dd683950fea8095fbb3dfbb64feab9 (diff)
downloadpostgresql-9263d86f59b7676e388785824ee5945a91b855ed.tar.gz
postgresql-9263d86f59b7676e388785824ee5945a91b855ed.zip
Update psql startup banner to be shorter, suggest "help" for help.
Add a few "help" entries. Move \g help entry into "General". Update psql version mismatch warning text. Joshua D. Drake
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r--src/bin/psql/help.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 5b4ebffcf43..b9fd2d55e52 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.127 2008/05/14 15:30:22 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.128 2008/05/16 17:17:00 momjian Exp $
*/
#include "postgres_fe.h"
@@ -170,13 +170,13 @@ slashUsage(unsigned short int pager)
*/
fprintf(output, _("General\n"));
fprintf(output, _(" \\copyright show PostgreSQL usage and distribution terms\n"));
+ fprintf(output, _(" \\g [FILE] or ; execute query (and send results to file or |pipe)\n"));
fprintf(output, _(" \\h [NAME] help on syntax of SQL commands, * for all commands\n"));
fprintf(output, _(" \\q quit psql\n"));
fprintf(output, "\n");
fprintf(output, _("Query Buffer\n"));
fprintf(output, _(" \\e [FILE] edit the query buffer (or file) with external editor\n"));
- fprintf(output, _(" \\g [FILE] send query buffer to server (and results to file or |pipe)\n"));
fprintf(output, _(" \\p show the contents of the query buffer\n"));
fprintf(output, _(" \\r reset (clear) the query buffer\n"));
#ifdef USE_READLINE