aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
authorBence Ferdinandy <bence@ferdinandy.com>2024-01-20 21:29:23 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-21 10:45:53 +0100
commitc8017f67531c493451c6f25335990a74a1f81699 (patch)
treeb8962baaae8caafcc2874f09a4bcb8bec2411e5d /doc/aerc.1.scd
parent5b76547c3b3566ef878d0937b5cb1e91376d2206 (diff)
downloadaerc-c8017f67531c493451c6f25335990a74a1f81699.tar.gz
main: add flags to override config files
Add --aerc-conf, --binds-conf and --accounts-conf CLI flags, which respectively override the default aerc.conf, binds.conf and accounts.conf configuration files. If the specified files do not exist or cannot be read, exit with an error. Implements: https://todo.sr.ht/~rjarry/aerc/209 Changelog-added: CLI flags to override paths to config files. Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r--doc/aerc.1.scd12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index ee5b27c5..5be01751 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -24,6 +24,18 @@ from your terminal.
can also be a comma separated list of names. This option may be
specified multiple times. The account order will be preserved.
+*--aerc-conf* _</path/to/aerc.conf>_
+ Instead of using _$XDG_CONFIG_HOME/aerc/aerc.conf_ use the file at the
+ specified path for configuring aerc.
+
+*--accounts-conf* _</path/to/accounts.conf>_
+ Instead of using _$XDG_CONFIG_HOME/aerc/accounts.conf_ use the file at the
+ specified path for configuring accounts.
+
+*--binds-conf* _</path/to/binds.conf>_
+ Instead of using _$XDG_CONFIG_HOME/aerc/binds.conf_ use the file at the
+ specified path for configuring binds.
+
*mailto:*_address[,address][?query[&query]]_
Open the composer with the address(es) in the To field. These
addresses must not be percent encoded.