commands: Add help text to "hugo new"
authorElliot Forbes <emforce@live.com>
Mon, 15 Oct 2018 15:48:19 +0000 (16:48 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 15 Oct 2018 15:48:19 +0000 (17:48 +0200)
commands/new.go

index f6e9443975bcb62e1f5fb85e320c658bf2f77ae8..ffca86a3e222a5f759de906ec3bbe975621e87ef 100644 (file)
@@ -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,
        })