From 7729072c262c0e7b76c25dbb09d6f2c6e7dd3eaf Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 3 Jun 2017 21:47:04 +0200 Subject: 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) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') 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( -- cgit v1.2.3