aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 21:47:04 +0200
committerTeddy Wing2017-06-03 21:47:04 +0200
commit7729072c262c0e7b76c25dbb09d6f2c6e7dd3eaf (patch)
tree1276040847e56ef06e92468cf40ad20a93554bb1
parent8204a34e5360d0370f9a0d94b049a3beaa72fb52 (diff)
downloadtimetasker-7729072c262c0e7b76c25dbb09d6f2c6e7dd3eaf.tar.bz2
main(): Update error message for `loadConfig()` error
* Change the initial capital to lowercase for consistency with the other error messages * Suggest using `--write-config` as a possible solution to the error (in cases where the config file doesn't exist)
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index ab0fc4a..e0e4af1 100644
--- a/main.go
+++ b/main.go
@@ -20,7 +20,7 @@ func main() {
var err error
err = loadConfig()
- kingpin.FatalIfError(err, "Could not load config file")
+ kingpin.FatalIfError(err, "could not load config file, try --write-config")
// Parse command line arguments
project_alias := kingpin.Flag(