cli: integrate (use) new show command in cli

This commit is contained in:
Richard Alpe
2025-04-07 09:06:28 +02:00
parent 42af6eec30
commit 740ecbcc43
3 changed files with 9 additions and 30 deletions
+1 -1
View File
@@ -1193,7 +1193,7 @@ def show_software(json, name):
f"{'VERSION':<{PadSoftware.version}}"
f"{'DATE':<{PadSoftware.date}}")
print(Decore.invert(hdr))
for _s in slots:
for _s in reversed(slots):
slot = Software(_s)
if slot.is_rootfs():
slot.print()