Hello,

Attached is a small patch to add a description to the meta commands regarding
large objects.


the actual description when using psql --help=commands is :

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

the proposed description is :

Large Objects
   \lo_export LOBOID FILE  export large object to a file
   \lo_import FILE [COMMENT]    import large object from a file
   \lo_list               list large objects
   \lo_unlink LOBOID      delete a large object


I tried to make an alignment on the description of other meta-commands.

Thanks.
Regards.
--
Thibaud W.
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 49eb116f33..5af7abca9e 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -321,10 +321,10 @@ slashUsage(unsigned short int pager)
        fprintf(output, "\n");
 
        fprintf(output, _("Large Objects\n"));
-       fprintf(output, _("  \\lo_export LOBOID FILE\n"
-                                         "  \\lo_import FILE [COMMENT]\n"
-                                         "  \\lo_list[+]\n"
-                                         "  \\lo_unlink LOBOID      large object operations\n"));
+       fprintf(output, _("  \\lo_export LOBOID FILE export large object to a file\n"));
+       fprintf(output, _("  \\lo_import FILE [COMMENT]    import large object from a file\n"));
+       fprintf(output, _("  \\lo_list[+]            list large objects\n"));
+       fprintf(output, _("  \\lo_unlink LOBOID      delete a large object\n"));
 
        ClosePager(output);
 }

Reply via email to