summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/new.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/new.go b/commands/new.go
index 936694535..c30bd8602 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -160,6 +160,7 @@ func NewSite(cmd *cobra.Command, args []string) {
forceNew, _ := cmd.Flags().GetBool("force")
if err := doNewSite(createpath, forceNew); err != nil {
+ cmd.Usage()
jww.FATAL.Fatalln(err)
}
}