On 6/2/22 23:46, Nathan Bossart wrote:
On Thu, Jun 02, 2022 at 11:12:46AM +0200, Thibaud W. wrote:
Attached is a small patch to add a description to the meta commands
regarding
large objects.
This seems reasonable to me. Your patch wasn't applying for some reason,
so I created a new one with a commit message and some small adjustments.
What do you think?
Thanks for reading and fixing.
In fact the original tabs were missing in the first file.
In version v2, it seems interesting to keep calls to the fprintf
function for translation. I attached a new file.
Thanks.
Regards.
--
Thibaud W.
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 49eb116f33..b7dbd9f7f2 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);
}