mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
Print help message when triggered with no flags
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
79639c981c
commit
12646750aa
@@ -286,6 +286,8 @@ You can also specify the kind with ` + "`-k KIND`" + `.
|
||||
If archetypes are provided in your theme or site, they will be used.
|
||||
|
||||
Ensure you run this within the root directory of your site.`
|
||||
|
||||
cmd.RunE = nil
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user