]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
Fix usage description
authorsatotake <doublequotation@gmail.com>
Thu, 8 Sep 2022 13:21:49 +0000 (22:21 +0900)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 8 Sep 2022 13:35:11 +0000 (15:35 +0200)
commands/new.go

index bf626a6a51af6ca3ff6097a47d68dea8a2d82fb9..a6c2c8ca1cabd263d7b26f8513dfcbc5609f499a 100644 (file)
@@ -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())