diff options
author | Karel Balej <balejk@matfyz.cz> | 2023-08-24 18:36:22 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-24 19:59:09 +0200 |
commit | 7304781d889ad75c91d37cc6feeaeb7b9fc05a9e (patch) | |
tree | 21069aba740173cd72176b4442b01187675bf519 /config | |
parent | d2082f839df2652dde0671acfe60f67040a8e4f8 (diff) | |
download | aerc-7304781d889ad75c91d37cc6feeaeb7b9fc05a9e.tar.gz |
config: add missing configuration file annotation
Describe the changes introduced by 180fffa92ec7 also directly in the
example configuration file.
Fixes: 180fffa92ec7 ("commands: allow reading attachments from a file")
Signed-off-by: Karel Balej <balejk@matfyz.cz>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r-- | config/aerc.conf | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/config/aerc.conf b/config/aerc.conf index 3eb30c45..46b24f1c 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -413,12 +413,15 @@ # This parameter can also be set per account in accounts.conf. #address-book-cmd= -# Specifies the command to be used to select attachments. Any occurence of '%s' -# in the file-picker-cmd will be replaced the argument <arg> to :attach -m -# <arg>. -# -# The command must output the selected files to standard output, one file per -# line. +# Specifies the command to be used to select attachments. Any occurrence of +# '%s' in the file-picker-cmd will be replaced with the argument <arg> +# to :attach -m <arg>. Any occurence of '%f' will be replaced by the +# location of a temporary file, from which aerc will read the selected files. +# +# If '%f' is not present, the command must output the selected files to +# standard output, one file per line. If it is present, then aerc does not +# capture the standard output and instead reads the files from the temporary +# file which should have the same format. #file-picker-cmd= # |