This commit is contained in:
Roy Han 2024-06-10 09:36:05 -07:00
parent 239a994c47
commit d63e1f5b34

View File

@ -670,7 +670,7 @@ func ShowHandler(cmd *cobra.Command, args []string) error {
table.SetNoWhiteSpace(true)
table.SetTablePadding("\t")
table.SetAutoWrapText(false)
for i := 0; i < len(headers); i++ {
for i := range headers {
if data[i] != "" {
table.Append([]string{headers[i], data[i]})
}