From 67088b1ce248f9cdcf7d7a31946bdf758426832d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 3 Sep 2024 11:15:47 +0200 Subject: gpgconf: Add missing linefeed to the -X output. * tools/gpgconf.c (show_registry_entries_from_file): Add missing LF. --- tools/gpgconf.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tools/gpgconf.c b/tools/gpgconf.c index 028364dd9..ffc33e1a5 100644 --- a/tools/gpgconf.c +++ b/tools/gpgconf.c @@ -1415,6 +1415,16 @@ show_other_registry_entries (estream_t outfp) { 3, "noSaveBeforeDecrypt" }, { 3, "closeOnUnknownWriteEvent" }, { 0, NULL } + /* We should add the following key but also hide unset ones.: + * "smimeNoCertSigErr" + * "smimeHtmlWarnShown" + * "alwaysShowApproval" + * "syncDec" + * "syncEnc" + * "draftEnc" + * "draftKey" + * Or we just interate over the GpgOL keys. + */ }; int idx; int group = 0; @@ -1508,7 +1518,7 @@ show_registry_entries_from_file (estream_t outfp) if (!any) { any = 1; - es_fprintf (outfp, "Taken from gpgconf.rnames:\n"); + es_fprintf (outfp, "\nTaken from gpgconf.rnames:\n"); } es_fprintf (outfp, " %s\n ->%s<-%s\n", line, value, -- cgit v1.2.3