From: Elliot Forbes Date: Mon, 15 Oct 2018 15:48:19 +0000 (+0100) Subject: commands: Add help text to "hugo new" X-Git-Tag: v0.50~60 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6b21ac3e6;p=brevno-suite%2Fhugo commands: Add help text to "hugo new" --- diff --git a/commands/new.go b/commands/new.go index f6e94439..ffca86a3 100644 --- a/commands/new.go +++ b/commands/new.go @@ -47,7 +47,9 @@ It will guess which kind of file to create based on the path provided. You can also specify the kind with ` + "`-k KIND`" + `. -If archetypes are provided in your theme or site, they will be used.`, +If archetypes are provided in your theme or site, they will be used. + +Ensure you run this within the root directory of your site.`, RunE: cc.newContent, })