feat: Add section separator in list output when showing updates

This commit is contained in:
Peter Wood
2026-01-15 06:40:31 -05:00
parent e3b89032d4
commit 4ce77211b5

View File

@@ -285,6 +285,8 @@ def list_containers(projects, show_updates_only=False):
# If not hiding, OR if update, add to table # If not hiding, OR if update, add to table
if not show_updates_only or project_has_update: if not show_updates_only or project_has_update:
if project_rows: if project_rows:
if found_any:
table.add_section()
found_any = True found_any = True
for row in project_rows: for row in project_rows:
table.add_row(*row) table.add_row(*row)