[libvirt] [PATCH v3 13/14] virsh: Create macro for common "network" option

Andrea Bolognani abologna at redhat.com
Mon Jan 11 13:24:37 UTC 2016


On Sat, 2016-01-09 at 08:36 -0500, John Ferlan wrote:
> Rather than continually cut-n-paste the strings into each command,
> create a common macro to be used generically.  Note that not all
> '{.name = "network",' entries are replaced, just those that have the
> common .help string of "network name or uuid".
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  tools/virsh-network.c | 61 ++++++++++++++-------------------------------------
>  1 file changed, 16 insertions(+), 45 deletions(-)

ACK.

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvir-list mailing list