diff options
author | Robin Jarry <robin@jarry.cc> | 2023-10-30 13:12:30 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-30 20:46:12 +0100 |
commit | 6613d9b555beec211b2c30d7049bb75957faeee9 (patch) | |
tree | 0668aaa33f2b67072908f7c112ae092302e97ce6 /commands/account/export-mbox.go | |
parent | 09744e9272eb5a8951b1fb3d8caa034ca56bdef0 (diff) | |
download | aerc-6613d9b555beec211b2c30d7049bb75957faeee9.tar.gz |
cf: fix unexpected argument on notmuch
Notmuch supports creating "dynamic" folders with the :cf command. When
the backend is notmuch, :cf must accept multiple arguments since it can
be a free-form notmuch query.
Detect if the backend is notmuch and build a quoted query based on the
provided arguments. Otherwise require a single argument.
Fixes: e54486ee40c9 ("commands: parse arguments with go-opt")
Reported-by: Inwit <inwit@sindominio.net>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Inwit <inwit@sindominio.net>
Diffstat (limited to 'commands/account/export-mbox.go')
0 files changed, 0 insertions, 0 deletions