diff options
author | Mos Roshanavand <technik@roshanavand.de> | 2023-06-26 20:20:24 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-06-28 14:58:36 +0200 |
commit | 12646750aa186cf3bf50266f8eddf9cfebc3c9c9 (patch) | |
tree | 49a06fff124ec0b8559980378b43d990aa2e3d92 /commands/new.go | |
parent | 79639c981cf69193fb21d97773d928c089714750 (diff) |
Print help message when triggered with no flags
Diffstat (limited to 'commands/new.go')
-rw-r--r-- | commands/new.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/new.go b/commands/new.go index 633f1becb..a16453d62 100644 --- a/commands/new.go +++ b/commands/new.go @@ -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 } |