]> granicus.if.org Git - neomutt/commitdiff
Add note about %r for the pgp_list_*_command vars.
authorKevin McCarthy <kevin@8t8.us>
Thu, 9 May 2019 20:48:44 +0000 (13:48 -0700)
committerRichard Russon <rich@flatcap.org>
Fri, 10 May 2019 14:16:40 +0000 (15:16 +0100)
In this case %r is the list of search strings.

init.h

diff --git a/init.h b/init.h
index 482e1de77c47324263e712f3f81b33ee10c1d719..7cc97cd0f1abf3393fd9bd596c0f54a5304fefea 100644 (file)
--- a/init.h
+++ b/init.h
@@ -2557,6 +2557,8 @@ struct ConfigDef MuttVars[] = {
   ** .pp
   ** This is a format string, see the $$pgp_decode_command command for
   ** possible \fCprintf(3)\fP-like sequences.
+  ** Note that in this case, %r expands to the search string, which is a list of
+  ** one or more quoted values such as email address, name, or keyid.
   ** (PGP only)
   */
   { "pgp_decode_command", DT_COMMAND, R_NONE, &C_PgpDecodeCommand, 0 },
@@ -2636,6 +2638,8 @@ struct ConfigDef MuttVars[] = {
   ** .pp
   ** This is a format string, see the $$pgp_decode_command command for
   ** possible \fCprintf(3)\fP-like sequences.
+  ** Note that in this case, %r expands to the search string, which is a list of
+  ** one or more quoted values such as email address, name, or keyid.
   ** (PGP only)
   */
   { "pgp_encrypt_sign_command", DT_COMMAND, R_NONE, &C_PgpEncryptSignCommand, 0 },