]> xenbits.xensource.com Git - libvirt.git/commit
virsh: additional scaled output units
authorEric Blake <eblake@redhat.com>
Tue, 9 Sep 2014 04:09:53 +0000 (22:09 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 9 Sep 2014 14:19:02 +0000 (08:19 -0600)
commit2ad38fdba12897f7d4c9e210c267e9a64e712323
tree2be07cb9fd9a27933b55d44f190b0424bbb9dd1a
parent1120c06b4397ea00b818523e22b01f418e744185
virsh: additional scaled output units

The parser accepts P and E, so the formatter should too.

* tools/virsh.c (vshPrettyCapacity): Handle larger units.

Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virsh.c