aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.go
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 /config/config.go
parent2dc436555d8bfa6f2409173d87cd0fec2b2385cf (diff)
downloadaerc-176245208d40a9ca2ec324be7863a22819de29bc.tar.gz
Use kebab-case for cred-cmds
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go
index d864d2c7..d8854021 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