|
3 | 3 | *
|
4 | 4 | * Copyright 2000 by PostgreSQL Global Development Group
|
5 | 5 | *
|
6 |
| - * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.64 2002/12/1122:45:13 momjian Exp $ |
| 6 | + * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.65 2002/12/1123:03:45 momjian Exp $ |
7 | 7 | */
|
8 | 8 | #include"postgres_fe.h"
|
9 | 9 | #include"common.h"
|
@@ -191,13 +191,16 @@ slashUsage(unsigned short int pager)
|
191 | 191 | fprintf(output,_(" \\g [FILE] send query buffer to server (and results to file or |pipe)\n"));
|
192 | 192 | fprintf(output,_(" \\r reset (clear) the query buffer\n"));
|
193 | 193 | fprintf(output,_(" \\e [FILE] edit the query buffer (or file) with external editor\n"));
|
194 |
| -fprintf(output,_(" \\i FILE execute commands from file\n")); |
195 | 194 | fprintf(output,_(" \\p show the contents of the query buffer\n"));
|
196 | 195 | fprintf(output,_(" \\w [FILE] write query buffer to file\n"));
|
197 |
| -fprintf(output,_(" \\o FILE send all query results to file or |pipe\n")); |
198 | 196 | fprintf(output,_(" \\s [FILE] display history or save it to file\n"));
|
199 | 197 | fprintf(output,_("\n"));
|
200 | 198 |
|
| 199 | +fprintf(output,_("I/O Redirection\n")); |
| 200 | +fprintf(output,_(" \\i FILE execute commands from file\n")); |
| 201 | +fprintf(output,_(" \\o FILE send all query results to file or |pipe\n")); |
| 202 | +fprintf(output,_("\n")); |
| 203 | + |
201 | 204 | fprintf(output,_("Informational\n"));
|
202 | 205 | fprintf(output,_(" \\d [NAME] describe table, index, sequence, or view\n"));
|
203 | 206 | fprintf(output,_(" \\d{t|i|s|v|S} [PATTERN] (add \"+\" for more detail)\n"
|
@@ -236,12 +239,10 @@ slashUsage(unsigned short int pager)
|
236 | 239 | ON(pset.popt.topt.tuples_only));
|
237 | 240 | fprintf(output,_(" \\echo [STRING] write string to standard output\n"));
|
238 | 241 | fprintf(output,_(" \\qecho [STRING] write string to query output stream (see \\o)\n"));
|
239 |
| -fprintf(output,_("\n")); |
240 |
| - |
241 |
| -fprintf(output,_("HTML Output\n")); |
242 | 242 | fprintf(output,_(" \\H toggle HTML output mode (currently %s)\n"),
|
243 | 243 | ON(pset.popt.topt.format==PRINT_HTML));
|
244 | 244 | fprintf(output,_(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n"));
|
| 245 | +fprintf(output,_("\n")); |
245 | 246 |
|
246 | 247 | if (output!=stdout)
|
247 | 248 | {
|
|