pvesm: print units in 'status' subcommand table headings

The units used are not documented in the man page.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Link: https://lore.proxmox.com/20250829124738.412902-1-m.sandoval@proxmox.com
[FE: improve commit title]
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Maximiliano Sandoval
2025-08-29 14:47:37 +02:00
committed by Fiona Ebner
parent 68c3142605
commit 10e47fc8bb

View File

@ -232,7 +232,7 @@ my $print_status = sub {
$maxlen += 1; $maxlen += 1;
printf "%-${maxlen}s %10s %10s %15s %15s %15s %8s\n", 'Name', 'Type', printf "%-${maxlen}s %10s %10s %15s %15s %15s %8s\n", 'Name', 'Type',
'Status', 'Total', 'Used', 'Available', '%'; 'Status', 'Total (KiB)', 'Used (KiB)', 'Available (KiB)', '%';
foreach my $res (sort { $a->{storage} cmp $b->{storage} } @$res) { foreach my $res (sort { $a->{storage} cmp $b->{storage} } @$res) {
my $storeid = $res->{storage}; my $storeid = $res->{storage};