aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/aerc.conf15
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=
#