From 734d736bdf0b03d6ad2ecd69f5750a1ae55692f0 Mon Sep 17 00:00:00 2001 From: Daniel Holbach Date: Thu, 6 May 2021 08:52:36 +0200 Subject: [PATCH] Remove ' command' from Flux CLI docs title Fixes: #1388 Signed-off-by: Daniel Holbach --- cmd/flux/docgen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/flux/docgen.go b/cmd/flux/docgen.go index d4bfdf81..aec004ea 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) }