diff --git a/metacmd/section.go b/metacmd/section.go index 6c9d743ea54..ff0c6f11714 100644 --- a/metacmd/section.go +++ b/metacmd/section.go @@ -74,12 +74,14 @@ func Listing(w io.Writer) { } sectionDescs[section] = descs } - for _, section := range SectionOrder { + for i, section := range SectionOrder { + if i != 0 { + fmt.Fprintln(w) + } fmt.Fprintln(w, section) for _, line := range sectionDescs[section] { fmt.Fprintln(w, rpad(line[0], plen), "", line[1]) } - fmt.Fprintln(w) } }