diff options
author | Teddy Wing | 2017-06-03 21:47:04 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 21:47:04 +0200 |
commit | 7729072c262c0e7b76c25dbb09d6f2c6e7dd3eaf (patch) | |
tree | 1276040847e56ef06e92468cf40ad20a93554bb1 | |
parent | 8204a34e5360d0370f9a0d94b049a3beaa72fb52 (diff) | |
download | timetasker-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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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( |