diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-05-21 14:31:14 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-21 14:31:14 -0400 |
commit | 176245208d40a9ca2ec324be7863a22819de29bc (patch) | |
tree | 2b1c5327a40a0f7f0648389724ba341fcd03481e /config/config.go | |
parent | 2dc436555d8bfa6f2409173d87cd0fec2b2385cf (diff) | |
download | aerc-176245208d40a9ca2ec324be7863a22819de29bc.tar.gz |
Use kebab-case for cred-cmds
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 4 |
1 files changed, 2 insertions, 2 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 |