From 7d8a3bc683c54850e85e18e7c03da4c2abc4c68b Mon Sep 17 00:00:00 2001 From: Finn Date: Wed, 24 Mar 2021 19:31:05 -0700 Subject: [PATCH] fix sprintf args --- cmd/signaldctl/cmd/doc.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/signaldctl/cmd/doc.go b/cmd/signaldctl/cmd/doc.go index 04091fb..fffd727 100644 --- a/cmd/signaldctl/cmd/doc.go +++ b/cmd/signaldctl/cmd/doc.go @@ -64,8 +64,7 @@ title: "%s" func filePrepender(filename string) string { name := filepath.Base(filename) base := strings.TrimSuffix(name, path.Ext(name)) - url := strings.ToLower(base) - return fmt.Sprintf(fmTemplate, strings.Replace(base, "_", " ", -1), base, url) + return fmt.Sprintf(fmTemplate, strings.Replace(base, "_", " ", -1)) } func linkHandler(name string) string {