aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-09-03 09:15:47 +0000
committerWerner Koch <[email protected]>2024-09-03 09:15:47 +0000
commit67088b1ce248f9cdcf7d7a31946bdf758426832d (patch)
tree55922d24c9c4a15b52d1015415595075b78625d6
parentgpg: New option --proc-all-sigs (diff)
downloadgnupg-67088b1ce248f9cdcf7d7a31946bdf758426832d.tar.gz
gnupg-67088b1ce248f9cdcf7d7a31946bdf758426832d.zip
gpgconf: Add missing linefeed to the -X output.
* tools/gpgconf.c (show_registry_entries_from_file): Add missing LF.
-rw-r--r--tools/gpgconf.c12
1 files changed, 11 insertions, 1 deletions
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,