summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorElliot Forbes <emforce@live.com>2018-10-15 16:48:19 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-10-15 17:48:19 +0200
commit6b21ac3e67cb101255e8c3d9dbf076391a9eed8d (patch)
treeb93cadfbf5be686a566cd3d1f0bef15eb79b9119 /commands
parentd14420539ac04d31dde2252eee66d7e4c7749780 (diff)
commands: Add help text to "hugo new"
Diffstat (limited to 'commands')
-rw-r--r--commands/new.go4
1 files changed, 3 insertions, 1 deletions
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,
})