diff options
author | Joe Mooring <[email protected]> | 2023-09-29 12:17:35 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-10-30 09:02:26 +0100 |
commit | 27b22cd87e0637da9714e4161e33b8e7f5c5bc46 (patch) | |
tree | 84273e1033ab59ff98bae54c9589a04e4ad3fde9 /commands | |
parent | a2488b1c9523241b39898838a489a078587500a7 (diff) | |
download | hugo-27b22cd87e0637da9714e4161e33b8e7f5c5bc46.tar.gz hugo-27b22cd87e0637da9714e4161e33b8e7f5c5bc46.zip |
commands/new: Remove format flag from new content cmd
Fixes #11462
Diffstat (limited to 'commands')
-rw-r--r-- | commands/new.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/new.go b/commands/new.go index ffd75b2bb..8e348366d 100644 --- a/commands/new.go +++ b/commands/new.go @@ -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) }, |