From b7a9571626f0df2083a237174271b74846e1f28e Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Wed, 14 Aug 2024 14:48:41 -0700 Subject: [PATCH] fix(dumpmd): fix breakage from #344 --- dumpmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpmd.go b/dumpmd.go index 0b0ae82a..f8649c0f 100644 --- a/dumpmd.go +++ b/dumpmd.go @@ -46,7 +46,7 @@ func dumpShorthands(w io.Writer, shorts *shorthand.BuiltinSource) { var t table t.appendHeaders("Shorthand", "Long form") - for _, key := range keys { + for key := range keys { cmd := cmdFullName(shorts.Node(key)) link := fmt.Sprintf("[%v](/cli/reference.md#%v)", cmd, strings.ReplaceAll(cmd, " ", "-")) t.addRow("gs "+key, link)