|
3 | 3 | *
|
4 | 4 | * Copyright 2000 by PostgreSQL Global Development Group
|
5 | 5 | *
|
6 |
| - * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.26 2000/04/24 22:41:43 momjian Exp $ |
| 6 | + * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.27 2000/05/09 19:08:36 momjian Exp $ |
7 | 7 | */
|
8 | 8 | #include"postgres.h"
|
9 | 9 | #include"help.h"
|
@@ -208,30 +208,30 @@ slashUsage(void)
|
208 | 208 | fprintf(fout," \\df list functions\n");
|
209 | 209 | fprintf(fout," \\do list operators\n");
|
210 | 210 | fprintf(fout," \\dT list data types\n");
|
211 |
| -fprintf(fout," \\e [fname] edit the current query buffer or<fname> with external editor\n"); |
| 211 | +fprintf(fout," \\e [file]edit the current query buffer or[file] with external editor\n"); |
212 | 212 | fprintf(fout," \\echo <text> write text to stdout\n");
|
213 | 213 | fprintf(fout," \\encoding <encoding> set client encoding\n");
|
214 | 214 | fprintf(fout," \\f <sep> change field separator\n");
|
215 |
| -fprintf(fout," \\g [fname] send query to backend (and results in<fname> or |pipe)\n"); |
| 215 | +fprintf(fout," \\g [file]send query to backend (and results in[file] or |pipe)\n"); |
216 | 216 | fprintf(fout," \\h [cmd] help on syntax of sql commands, * for all commands\n");
|
217 | 217 | fprintf(fout," \\H toggle HTML mode (currently %s)\n",
|
218 | 218 | ON(pset.popt.topt.format==PRINT_HTML));
|
219 |
| -fprintf(fout," \\i <fname> read and execute queries fromfilename\n"); |
| 219 | +fprintf(fout," \\i <file>read and execute queries from<file>\n"); |
220 | 220 | fprintf(fout," \\l list all databases\n");
|
221 | 221 | fprintf(fout," \\lo_export, \\lo_import, \\lo_list, \\lo_unlink\n"
|
222 | 222 | " large object operations\n");
|
223 |
| -fprintf(fout," \\o [fname] send all query results to<fname>, or |pipe\n"); |
| 223 | +fprintf(fout," \\o [file]send all query results to[file], or |pipe\n"); |
224 | 224 | fprintf(fout," \\p show the content of the current query buffer\n");
|
225 | 225 | fprintf(fout," \\pset {format|border|expanded|fieldsep|recordsep|tuples_only|title|tableattr\n"
|
226 | 226 | " |pager} set table output options\n");
|
227 | 227 | fprintf(fout," \\q quit psql\n");
|
228 | 228 | fprintf(fout," \\qecho <text> write text to query output stream (see \\o)\n");
|
229 | 229 | fprintf(fout," \\r reset (clear) the query buffer\n");
|
230 |
| -fprintf(fout," \\s [fname] print history or save it in<fname>\n"); |
| 230 | +fprintf(fout," \\s [file]print history or save it in[file]\n"); |
231 | 231 | fprintf(fout," \\set <var> <value> set internal variable\n");
|
232 | 232 | fprintf(fout," \\t don't show table headers or footers (currently %s)\n",ON(pset.popt.topt.tuples_only));
|
233 | 233 | fprintf(fout," \\unset <var> unset (delete) internal variable\n");
|
234 |
| -fprintf(fout," \\w <fname> write current query buffer to a file\n"); |
| 234 | +fprintf(fout," \\w <file>write current query buffer to a<file>\n"); |
235 | 235 | fprintf(fout," \\x toggle expanded output (currently %s)\n",ON(pset.popt.topt.expanded));
|
236 | 236 | fprintf(fout," \\z list table access permissions\n");
|
237 | 237 | fprintf(fout," \\! [cmd] shell escape or command\n");
|
|