diff options
author | satotake <[email protected]> | 2022-09-08 22:21:49 +0900 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-09-08 15:35:11 +0200 |
commit | ab5ce59894520a796ca658ef0385c65c2fa45f99 (patch) | |
tree | 304ad6f9ab312cdee79de4ca58239f448f6c9a1d | |
parent | 7d40da876c62a166bdd273209b7cd6bead9266c1 (diff) | |
download | hugo-ab5ce59894520a796ca658ef0385c65c2fa45f99.tar.gz hugo-ab5ce59894520a796ca658ef0385c65c2fa45f99.zip |
Fix usage description
-rw-r--r-- | commands/new.go | 2 |
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()) |