cli: better formatting of lists (#2951)

This commit is contained in:
Kristoffer Dalby authored and GitHub committed 2025-12-10 12:33:21 +01:00
1 parent c8376e44a2
commit f3f2d30004
2 files changed
+14 -11

No files matched your search

+2 -2
View File
@@ -107,10 +107,10 @@ var listPreAuthKeys = &cobra.Command{
aclTags := ""
for _, tag := range key.GetAclTags() {
aclTags += "," + tag
aclTags += "\n" + tag
}
aclTags = strings.TrimLeft(aclTags, ",")
aclTags = strings.TrimLeft(aclTags, "\n")
tableData = append(tableData, []string{
strconv.FormatUint(key.GetId(), 10),