commands: Fix CLI help text for hugo new

Updates #9363
This commit is contained in:
Bjørn Erik Pedersen 2022-01-07 12:36:12 +01:00
parent 5bd3c8df40
commit e334a40661
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -52,7 +52,7 @@ Use ` + "`hugo new [contentPath]`" + ` to create new content.`,
RunE: cc.newSite, RunE: cc.newSite,
} }
cmd.Flags().StringVarP(&cc.configFormat, "format", "f", "toml", "config & frontmatter format") cmd.Flags().StringVarP(&cc.configFormat, "format", "f", "toml", "config file format")
cmd.Flags().Bool("force", false, "init inside non-empty directory") cmd.Flags().Bool("force", false, "init inside non-empty directory")
cc.baseBuilderCmd = b.newBuilderBasicCmd(cmd) cc.baseBuilderCmd = b.newBuilderBasicCmd(cmd)