From: satotake Date: Thu, 8 Sep 2022 13:21:49 +0000 (+0900) Subject: Fix usage description X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ab5ce59894520a796ca658ef0385c65c2fa45f99;p=brevno-suite%2Fhugo Fix usage description --- 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())