aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/mainloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/mainloop.c')
-rw-r--r--src/bin/psql/mainloop.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c
index 1eb0ea44a3f..9545eeb99a4 100644
--- a/src/bin/psql/mainloop.c
+++ b/src/bin/psql/mainloop.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/mainloop.c,v 1.90 2008/04/05 03:40:15 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/mainloop.c,v 1.91 2008/05/16 17:17:00 momjian Exp $
*/
#include "postgres_fe.h"
#include "mainloop.h"
@@ -177,10 +177,13 @@ MainLoop(FILE *source)
(line[4] == '\0' || line[4] == ';' || isspace((unsigned char) line[4])))
{
free(line);
- puts(_("You are using psql, the command-line interface to PostgreSQL."));
- puts(_("Enter SQL commands, or type \\? for a list of backslash options."));
- puts(_("Use \\h for SQL command help."));
- puts(_("Use \\q to quit."));
+ puts(_("\nYou are using psql, the command-line interface to PostgreSQL."));
+ puts(_("\t\\? for psql help"));
+ puts(_("\t\\h or \\help for SQL help\n"));
+ puts(_("\t\\g or \";\" to execute a query"));
+ puts(_("\t\\q to quit psql\n"));
+ puts(_("\t\\copyright to view the copyright\n"));
+
fflush(stdout);
continue;
}