commands: Fix CLI help text for hugo new
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 7 Jan 2022 11:36:12 +0000 (12:36 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 7 Jan 2022 11:36:12 +0000 (12:36 +0100)
Updates #9363

commands/new_site.go

index 11e9ce40a15866d1e43f849bef31d89de4cc9ecd..1e3ed710bdf9ee5e892527127b0e287f8f4f26df 100644 (file)
@@ -52,7 +52,7 @@ Use ` + "`hugo new [contentPath]`" + ` to create new content.`,
                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")
 
        cc.baseBuilderCmd = b.newBuilderBasicCmd(cmd)