psql_large_objects_help_description.patch

text/x-patch

Filename: psql_large_objects_help_description.patch
Type: text/x-patch
Part: 0
Message: Proposal: adding a better description in psql command about large objects

Patch

Format: unified
File+
src/bin/psql/help.c 4 4
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);
 }