[libvirt] [PATCH] virsh: remove embedded space from pool-list --details output

Daniel P. Berrange berrange at redhat.com
Mon Jul 5 09:45:54 UTC 2010


On Sat, Jul 03, 2010 at 06:44:06AM +1000, Justin Clift wrote:
> This removes the embedded space in the output of the pool-list --details
> command, as per the comments from Richard W. M. Jones.
> 
> Scripting should now be able to parse this output in a reliable manner.
> 
> ---
> 
> New output:
> 
>   virsh # pool-list --details
>   Name       State    Autostart  Persistent  Capacity  Allocation  Available
>   --------------------------------------------------------------------------
>   default    running  yes        yes          19.69GB     16.03GB     3.66GB
>   image_dir  running  yes        yes           1.79TB      1.59TB   203.68GB
>   tmp        running  no         yes          19.69GB     16.03GB     3.66GB

NACK, this is unpleasant to read without the spacing.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list