aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-21 14:31:14 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-21 14:31:14 -0400
commit176245208d40a9ca2ec324be7863a22819de29bc (patch)
tree2b1c5327a40a0f7f0648389724ba341fcd03481e
parent2dc436555d8bfa6f2409173d87cd0fec2b2385cf (diff)
Use kebab-case for cred-cmds
-rw-r--r--config/config.go4
-rw-r--r--doc/aerc-config.5.scd12
2 files changed, 7 insertions, 9 deletions
diff --git a/config/config.go b/config/config.go
index d864d2c..d885402 100644
--- a/config/config.go
+++ b/config/config.go
@@ -119,11 +119,11 @@ func loadAccountConfig(path string) ([]AccountConfig, error) {
for key, val := range sec.KeysHash() {
if key == "folders" {
account.Folders = strings.Split(val, ",")
- } else if key == "source_cred_cmd" {
+ } else if key == "source-cred-cmd" {
account.SourceCredCmd = val
} else if key == "outgoing" {
account.Outgoing = val
- } else if key == "outgoing_cred_cmd" {
+ } else if key == "outgoing-cred-cmd" {
account.OutgoingCredCmd = val
} else if key == "from" {
account.From = val
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
index d8b1fc7..62e1461 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
@@ -144,11 +144,11 @@ Note that many of these configuration options are written for you, such as
- *aerc-smtp*(5)
-*outgoing_cred_cmd*
+*outgoing-cred-cmd*
Specifies an optional command that is run to get the outgoing account's
- password. See each protocol's man page for more details:
+ password. See each protocol's man page for more details.
- - *aerc-smtp*(5)
+ Default: none
*source*
Specifies the source for reading incoming emails on this account. This key
@@ -160,11 +160,9 @@ Note that many of these configuration options are written for you, such as
Default: none
-*source_cred_cmd*
+*source-cred-cmd*
Specifies an optional command that is run to get the source account's
- password. See each protocol's man page for more details:
-
- - *aerc-imap*(5)
+ password. See each protocol's man page for more details.
# BINDS.CONF