summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway2008-06-10 20:58:19 +0000
committerNeil Conway2008-06-10 20:58:19 +0000
commit9a2e85b66362e157d5751ca4ea34cd16e4c9200a (patch)
treee1203ab09f332df2bbecdad61b7aa838f89bf787
parentefecd9e4746141e092e3071a051b2c0b5d6bfc7e (diff)
Editorialization for the text emitted by the "help" psql command.
Basically just reuse the same text that psql emitted as part of its startup banner in prior versions, and make some whitespace more consistent with the conventions in other psql command output.
-rw-r--r--src/bin/psql/mainloop.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c
index a8a25e78f4..20cc913dbc 100644
--- a/src/bin/psql/mainloop.c
+++ b/src/bin/psql/mainloop.c
@@ -177,12 +177,12 @@ MainLoop(FILE *source)
(line[4] == '\0' || line[4] == ';' || isspace((unsigned char) line[4])))
{
free(line);
- 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"));
+ puts(_("You are using psql, the command-line interface to PostgreSQL."));
+ printf(_("Type: \\copyright for distribution terms\n"
+ " \\h for help with SQL commands\n"
+ " \\? for help with psql commands\n"
+ " \\g or terminate with semicolon to execute query\n"
+ " \\q to quit\n"));
fflush(stdout);
continue;