commands/new: Remove format flag from new content cmd

Fixes #11462
This commit is contained in:
Joe Mooring
2023-09-29 12:17:35 -07:00
committed by Bjørn Erik Pedersen
parent a2488b1c95
commit 27b22cd87e
2 changed files with 0 additions and 2 deletions

View File

@@ -63,7 +63,6 @@ Ensure you run this within the root directory of your site.`,
cmd.Flags().StringVarP(&contentType, "kind", "k", "", "content type to create")
cmd.Flags().String("editor", "", "edit new content with this editor, if provided")
cmd.Flags().BoolVarP(&force, "force", "f", false, "overwrite file if it already exists")
cmd.Flags().StringVar(&format, "format", "toml", "preferred file format (toml, yaml or json)")
applyLocalFlagsBuildConfig(cmd, r)
},