*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.64 2002/12/11 22:45:13 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.65 2002/12/11 23:03:45 momjian Exp $
*/
#include "postgres_fe.h"
#include "common.h"
fprintf(output, _(" \\g [FILE] send query buffer to server (and results to file or |pipe)\n"));
fprintf(output, _(" \\r reset (clear) the query buffer\n"));
fprintf(output, _(" \\e [FILE] edit the query buffer (or file) with external editor\n"));
- fprintf(output, _(" \\i FILE execute commands from file\n"));
fprintf(output, _(" \\p show the contents of the query buffer\n"));
fprintf(output, _(" \\w [FILE] write query buffer to file\n"));
- fprintf(output, _(" \\o FILE send all query results to file or |pipe\n"));
fprintf(output, _(" \\s [FILE] display history or save it to file\n"));
fprintf(output, _("\n"));
+ fprintf(output, _("I/O Redirection\n"));
+ fprintf(output, _(" \\i FILE execute commands from file\n"));
+ fprintf(output, _(" \\o FILE send all query results to file or |pipe\n"));
+ fprintf(output, _("\n"));
+
fprintf(output, _("Informational\n"));
fprintf(output, _(" \\d [NAME] describe table, index, sequence, or view\n"));
fprintf(output, _(" \\d{t|i|s|v|S} [PATTERN] (add \"+\" for more detail)\n"
ON(pset.popt.topt.tuples_only));
fprintf(output, _(" \\echo [STRING] write string to standard output\n"));
fprintf(output, _(" \\qecho [STRING] write string to query output stream (see \\o)\n"));
- fprintf(output, _("\n"));
-
- fprintf(output, _("HTML Output\n"));
fprintf(output, _(" \\H toggle HTML output mode (currently %s)\n"),
ON(pset.popt.topt.format == PRINT_HTML));
fprintf(output, _(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n"));
+ fprintf(output, _("\n"));
if (output != stdout)
{