Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsatotake <doublequotation@gmail.com>2022-09-08 16:21:49 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-09-08 16:35:11 +0300
commitab5ce59894520a796ca658ef0385c65c2fa45f99 (patch)
tree304ad6f9ab312cdee79de4ca58239f448f6c9a1d
parent7d40da876c62a166bdd273209b7cd6bead9266c1 (diff)
Fix usage description
-rw-r--r--commands/new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/new.go b/commands/new.go
index bf626a6a5..a6c2c8ca1 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -55,7 +55,7 @@ Ensure you run this within the root directory of your site.`,
cmd.Flags().StringVarP(&cc.contentType, "kind", "k", "", "content type to create")
cmd.Flags().StringVar(&cc.contentEditor, "editor", "", "edit new content with this editor, if provided")
- cmd.Flags().BoolVarP(&cc.force, "force", "f", false, "allow to override file")
+ cmd.Flags().BoolVarP(&cc.force, "force", "f", false, "overwrite file if it already exists")
cmd.AddCommand(b.newNewSiteCmd().getCommand())
cmd.AddCommand(b.newNewThemeCmd().getCommand())