This makes help like this:

\lo_export LOBOID FILE
   \lo_import FILE [COMMENT]
   \lo_list
   \lo_unlink LOBOID    large object operations

Instead of not saying anything about what arguments are required.

Christopher Kings-Lynne
This commit is contained in:
Bruce Momjian 2003-12-01 22:34:48 +00:00
parent c217b36e17
commit 8c4af96fb0

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2000-2003, PostgreSQL Global Development Group * Copyright (c) 2000-2003, PostgreSQL Global Development Group
* *
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.83 2003/12/01 22:21:54 momjian Exp $ * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.84 2003/12/01 22:34:48 momjian Exp $
*/ */
#include "postgres_fe.h" #include "postgres_fe.h"
#include "common.h" #include "common.h"
@ -246,10 +246,10 @@ slashUsage(unsigned short int pager)
fprintf(output, _("Copy, Large Object\n")); fprintf(output, _("Copy, Large Object\n"));
fprintf(output, _(" \\copy ... perform SQL COPY with data stream to the client host\n")); fprintf(output, _(" \\copy ... perform SQL COPY with data stream to the client host\n"));
fprintf(output, _(" \\lo_export\n" fprintf(output, _(" \\lo_export LOBOID FILE\n"
" \\lo_import\n" " \\lo_import FILE [COMMENT] \n"
" \\lo_list\n" " \\lo_list\n"
" \\lo_unlink large object operations\n")); " \\lo_unlink LOBOID large object operations\n"));
if (output != stdout) if (output != stdout)
{ {