aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 14:41:31 +0200
committerTeddy Wing2017-06-03 14:42:46 +0200
commit460ffe9ca5a7ad9ae5fd5a7d501b8cbd64e7646e (patch)
tree72875ac3b38cd6e320a346e60458550b5866a3d5 /main.go
parentbd2d890a9ad1128bf25b560fc4d796249c4ed495 (diff)
downloadtimetasker-460ffe9ca5a7ad9ae5fd5a7d501b8cbd64e7646e.tar.bz2
main.go: Add TOML tag to Config.PasswordCmd
This field wasn't parsing correctly because of it's non-automatically-parseable format.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2f82643..3a343b5 100644
--- a/main.go
+++ b/main.go
@@ -15,7 +15,7 @@ import (
type Config struct {
Auth struct {
Username string
- PasswordCmd string
+ PasswordCmd string `toml:"password_cmd"`
}
Profile timetask.Profile
Projects map[string]timetask.Project