about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.go4
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