Re: get rid of psql welcome message
От | Bruce Momjian |
---|---|
Тема | Re: get rid of psql welcome message |
Дата | |
Msg-id | 200804191743.m3JHhiM17730@momjian.us обсуждение исходный текст |
Ответ на | Re: get rid of psql welcome message (Alvaro Herrera <alvherre@commandprompt.com>) |
Ответы |
Re: get rid of psql welcome message
|
Список | pgsql-hackers |
Alvaro Herrera wrote: > Peter Eisentraut wrote: > > > --- 326,337 ---- > > printf(_("Welcome to %s %s, the PostgreSQL interactive terminal.\n\n"), > > pset.progname, PG_VERSION); > > > > ! if (!(var_welcome_message && strcmp(var_welcome_message, "terse") == 0)) > > ! 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\n")); > > Hmm, how about: > > 1. removing the \copyright line > 2. removing \h and \? in favor of mentioning the new "help" command > > So it would look like: > > Type: "help" to obtain usage information > \g or terminate with semicolon to execute query > \q to quit I am thinking 'help' is too much indirection for users -- it just tells them another command. How about: \g or ';' to execute a query\n"\? and \h for help\q to quit -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-hackers по дате отправления: