Skip to content

Commit 980b974

Browse files
committed
fix(wslbuilder): fix output render for stat view arg command on wslbuilder tool
1 parent c5f78f0 commit 980b974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/wslBuilder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ def _stat(self, args: list[str]) -> None:
163163
table = list[str]([
164164
f"* Name{' '*(8-len('Name'))}: {args[0]}",
165165
f"* Path{' '*(8-len('Path'))}: {__distroPath}\n",
166-
f"* Disk{' '*(8-len('Disk'))}: {__distroDiskName}{' '*(16-len(__distroDiskName))}({__distroDiskSize})",
167-
f"* Image{' '*(8-len('Image'))}: {__distroImageName}{' '*(16-len(__distroImageName))}({__distroImageSize})"
166+
f"* Disk{' '*(8-len('Disk'))}: [{__distroDiskSize}] {__distroDiskName}",
167+
f"* Image{' '*(8-len('Image'))}: [{__distroImageSize}] {__distroImageName}"
168168
])
169169

170170
print(f"\n{'\n'.join([ f" {t}" for t in table ])}")

0 commit comments

Comments
 (0)