From 6b21ac3e67cb101255e8c3d9dbf076391a9eed8d Mon Sep 17 00:00:00 2001 From: Elliot Forbes Date: Mon, 15 Oct 2018 16:48:19 +0100 Subject: commands: Add help text to "hugo new" --- commands/new.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'commands') diff --git a/commands/new.go b/commands/new.go index f6e944397..ffca86a3e 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, }) -- cgit v1.2.3