diff options
author | Anthony Fok <foka@debian.org> | 2015-12-03 00:28:09 -0700 |
---|---|---|
committer | Anthony Fok <foka@debian.org> | 2015-12-03 00:28:09 -0700 |
commit | c9526f6e3fdffe9e583e11d3513faa392576c305 (patch) | |
tree | 835b2b6c306ca04d9d8c8029e8defbfd3ec43c78 /commands | |
parent | df85e5a0aa03053f7ddfe6ebf8605e52024b1f15 (diff) |
Revise format for "Unable to locate Config file" error
Diffstat (limited to 'commands')
-rw-r--r-- | commands/hugo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index e1a469e85..e892c13fe 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -254,7 +254,7 @@ func InitializeConfig() error { if _, ok := err.(viper.ConfigParseError); ok { return newSystemError(err) } else { - return newSystemError("Unable to locate Config file. Perhaps you need to create a new site. Run `hugo help new` for details", err) + return newSystemErrorF("Unable to locate Config file. Perhaps you need to create a new site.\n Run `hugo help new` for details. (%s)\n", err) } } |