diff --git a/cmd/flux/docgen.go b/cmd/flux/docgen.go
index d4bfdf8141c96f0cf357286c8340297b02da2018..aec004ea1ea8c456f75526996c8e927d562ea543 100644
--- a/cmd/flux/docgen.go
+++ b/cmd/flux/docgen.go
@@ -59,7 +59,7 @@ func docgenCmdRun(cmd *cobra.Command, args []string) error {
 func frontmatterPrepender(filename string) string {
 	name := filepath.Base(filename)
 	base := strings.TrimSuffix(name, path.Ext(name))
-	title := strings.Replace(base, "_", " ", -1) + " command"
+	title := strings.Replace(base, "_", " ", -1)
 	return fmt.Sprintf(fmTemplate, title)
 }